Showing posts with label receiving. Show all posts
Showing posts with label receiving. Show all posts

Tuesday, March 27, 2012

Error reading variable

I keep receiving errors while using variables to pass values to different part of my package. For example ...

Error: 2006-05-04 10:31:59.84
Code: 0xC00470EA
Source: EdwPostProcess
Description: Reading the variable "User::GvPathRoot" failed with error code 0xC0010009.
End Error

The way my variables are constructed is :

First the global variables (Gv*) are set by the parent package; Then local variables (Lv*) are set using the EvaluateAsExpression property and giving it an expression that takes the Gv* variable and concatenate a string to it.

At execution time, while the expressions are resolved, I get the above error while it was resolved correctly in a previous task.

I tried different method including duplicating my variables but without success. I'm running out of ideas

Gilles

Sorry I don't have an answer. But just wanted to report a very similar problem I am having. I am also at my wits' end since the problem cannot be reproduced at will.

I am also passing variable from parent package to a child package. There is a loop in the parent package and in each iteration, the value of this variable changes. There are 9 iterations of the loop and so 9 different values of this variable. Most of the times all the loops are successful (particularly if the volume of data is less). If the volume of data processed by the child package is more then I sometimetimes get this error in the 5th or later iteration. I have changed the order of the values of the variable but looks like it does not matter - it fails at different values.

Ketan

|||

My variable was used in a script task and in expressions on other tasks. By re-arranging my tasks flow so the script task wouldn't be executed at the same time as another task with the same variable seem to have corrected the problem.

A variable used by a script task is lock in memory even when it is used for read only. So depending on how fast each task completes, it is possible that sometime we encounter the variable locked situation sometime not.

I found a way to eliminate the script task from my flow and everything is fine now.

Gilles

|||Another good technique to minimise locking is to reduce the scope of variables. You may end up with what seem like duplicates, by scoping variables to loops and containers or tasks, but this is more reliable than sharing variables when strictly speaking you never use the value outside of the lower scoped executable.

Error reading variable

I keep receiving errors while using variables to pass values to different part of my package. For example ...

Error: 2006-05-04 10:31:59.84
Code: 0xC00470EA
Source: EdwPostProcess
Description: Reading the variable "User::GvPathRoot" failed with error code 0xC0010009.
End Error

The way my variables are constructed is :

First the global variables (Gv*) are set by the parent package; Then local variables (Lv*) are set using the EvaluateAsExpression property and giving it an expression that takes the Gv* variable and concatenate a string to it.

At execution time, while the expressions are resolved, I get the above error while it was resolved correctly in a previous task.

I tried different method including duplicating my variables but without success. I'm running out of ideas

Gilles

Sorry I don't have an answer. But just wanted to report a very similar problem I am having. I am also at my wits' end since the problem cannot be reproduced at will.

I am also passing variable from parent package to a child package. There is a loop in the parent package and in each iteration, the value of this variable changes. There are 9 iterations of the loop and so 9 different values of this variable. Most of the times all the loops are successful (particularly if the volume of data is less). If the volume of data processed by the child package is more then I sometimetimes get this error in the 5th or later iteration. I have changed the order of the values of the variable but looks like it does not matter - it fails at different values.

Ketan

|||

My variable was used in a script task and in expressions on other tasks. By re-arranging my tasks flow so the script task wouldn't be executed at the same time as another task with the same variable seem to have corrected the problem.

A variable used by a script task is lock in memory even when it is used for read only. So depending on how fast each task completes, it is possible that sometime we encounter the variable locked situation sometime not.

I found a way to eliminate the script task from my flow and everything is fine now.

Gilles

|||Another good technique to minimise locking is to reduce the scope of variables. You may end up with what seem like duplicates, by scoping variables to loops and containers or tasks, but this is more reliable than sharing variables when strictly speaking you never use the value outside of the lower scoped executable.

Friday, March 23, 2012

Error on Restoring Database

Hi All,
We are trying to restore a database from a live system to our test system.
However, we are receiving the following errors when attempting to perform
this restore
"Modify file encountered operating system error 112(error code not found)
while attempting to expand the physical file
Cound not adjust the space allocation for file FILENAME"
I have tried searching online for this, but have had no luck. Also, when we
perform a restore of the backup from the test system this works fine.
Any help will be most appreciated
Richard,
Sounds like you might using a disk that was formatted for FAT32. Have you
checked that? FAT32 will only allow file sizes up to 4GB.
Mike C.
"Richardw" wrote:

> Hi All,
> We are trying to restore a database from a live system to our test system.
> However, we are receiving the following errors when attempting to perform
> this restore
> "Modify file encountered operating system error 112(error code not found)
> while attempting to expand the physical file
> Cound not adjust the space allocation for file FILENAME"
> I have tried searching online for this, but have had no luck. Also, when we
> perform a restore of the backup from the test system this works fine.
> Any help will be most appreciated
|||Hi,
Our discs are only ever formatted in NTFS
"MACason" wrote:
[vbcol=seagreen]
> Richard,
> Sounds like you might using a disk that was formatted for FAT32. Have you
> checked that? FAT32 will only allow file sizes up to 4GB.
> Mike C.
> "Richardw" wrote:
|||it seems too easy, but: did you verify the space allocation requirements for
the database? Are the permissions on the file system of the test environment
alright?
The message is referable to the SQL Server error 3140, and the possible
causes could be: lack of space on the disk, wrong name of the file, porblems
with the transaction log file; search for SQL Server error 3140 (Google it!)
Gilberto
"Richardw" wrote:

> Hi All,
> We are trying to restore a database from a live system to our test system.
> However, we are receiving the following errors when attempting to perform
> this restore
> "Modify file encountered operating system error 112(error code not found)
> while attempting to expand the physical file
> Cound not adjust the space allocation for file FILENAME"
> I have tried searching online for this, but have had no luck. Also, when we
> perform a restore of the backup from the test system this works fine.
> Any help will be most appreciated
|||Hi Gilberto,
Thanks for this, I had just noticed that the disc was seriously short on
space and am just trying to clear some, hopefully it will reolve the issue
"Gilberto Zampatti" wrote:
[vbcol=seagreen]
> it seems too easy, but: did you verify the space allocation requirements for
> the database? Are the permissions on the file system of the test environment
> alright?
> The message is referable to the SQL Server error 3140, and the possible
> causes could be: lack of space on the disk, wrong name of the file, porblems
> with the transaction log file; search for SQL Server error 3140 (Google it!)
> Gilberto
> "Richardw" wrote:

Error on Restoring Database

Hi All,
We are trying to restore a database from a live system to our test system.
However, we are receiving the following errors when attempting to perform
this restore
"Modify file encountered operating system error 112(error code not found)
while attempting to expand the physical file
Cound not adjust the space allocation for file FILENAME"
I have tried searching online for this, but have had no luck. Also, when we
perform a restore of the backup from the test system this works fine.
Any help will be most appreciatedRichard,
Sounds like you might using a disk that was formatted for FAT32. Have you
checked that? FAT32 will only allow file sizes up to 4GB.
Mike C.
"Richardw" wrote:

> Hi All,
> We are trying to restore a database from a live system to our test system.
> However, we are receiving the following errors when attempting to perform
> this restore
> "Modify file encountered operating system error 112(error code not found)
> while attempting to expand the physical file
> Cound not adjust the space allocation for file FILENAME"
> I have tried searching online for this, but have had no luck. Also, when w
e
> perform a restore of the backup from the test system this works fine.
> Any help will be most appreciated|||Hi,
Our discs are only ever formatted in NTFS
"MACason" wrote:
[vbcol=seagreen]
> Richard,
> Sounds like you might using a disk that was formatted for FAT32. Have you
> checked that? FAT32 will only allow file sizes up to 4GB.
> Mike C.
> "Richardw" wrote:
>|||it seems too easy, but: did you verify the space allocation requirements for
the database? Are the permissions on the file system of the test environment
alright?
The message is referable to the SQL Server error 3140, and the possible
causes could be: lack of space on the disk, wrong name of the file, porblems
with the transaction log file; search for SQL Server error 3140 (Google it!)
Gilberto
"Richardw" wrote:

> Hi All,
> We are trying to restore a database from a live system to our test system.
> However, we are receiving the following errors when attempting to perform
> this restore
> "Modify file encountered operating system error 112(error code not found)
> while attempting to expand the physical file
> Cound not adjust the space allocation for file FILENAME"
> I have tried searching online for this, but have had no luck. Also, when w
e
> perform a restore of the backup from the test system this works fine.
> Any help will be most appreciated|||Hi Gilberto,
Thanks for this, I had just noticed that the disc was seriously short on
space and am just trying to clear some, hopefully it will reolve the issue
"Gilberto Zampatti" wrote:
[vbcol=seagreen]
> it seems too easy, but: did you verify the space allocation requirements f
or
> the database? Are the permissions on the file system of the test environme
nt
> alright?
> The message is referable to the SQL Server error 3140, and the possible
> causes could be: lack of space on the disk, wrong name of the file, porble
ms
> with the transaction log file; search for SQL Server error 3140 (Google it
!)
> Gilberto
> "Richardw" wrote:
>

Error on Restoring Database

Hi All,
We are trying to restore a database from a live system to our test system.
However, we are receiving the following errors when attempting to perform
this restore
"Modify file encountered operating system error 112(error code not found)
while attempting to expand the physical file
Cound not adjust the space allocation for file FILENAME"
I have tried searching online for this, but have had no luck. Also, when we
perform a restore of the backup from the test system this works fine.
Any help will be most appreciatedRichard,
Sounds like you might using a disk that was formatted for FAT32. Have you
checked that? FAT32 will only allow file sizes up to 4GB.
Mike C.
"Richardw" wrote:
> Hi All,
> We are trying to restore a database from a live system to our test system.
> However, we are receiving the following errors when attempting to perform
> this restore
> "Modify file encountered operating system error 112(error code not found)
> while attempting to expand the physical file
> Cound not adjust the space allocation for file FILENAME"
> I have tried searching online for this, but have had no luck. Also, when we
> perform a restore of the backup from the test system this works fine.
> Any help will be most appreciated|||Hi,
Our discs are only ever formatted in NTFS
"MACason" wrote:
> Richard,
> Sounds like you might using a disk that was formatted for FAT32. Have you
> checked that? FAT32 will only allow file sizes up to 4GB.
> Mike C.
> "Richardw" wrote:
> > Hi All,
> >
> > We are trying to restore a database from a live system to our test system.
> > However, we are receiving the following errors when attempting to perform
> > this restore
> >
> > "Modify file encountered operating system error 112(error code not found)
> > while attempting to expand the physical file
> >
> > Cound not adjust the space allocation for file FILENAME"
> >
> > I have tried searching online for this, but have had no luck. Also, when we
> > perform a restore of the backup from the test system this works fine.
> >
> > Any help will be most appreciated|||it seems too easy, but: did you verify the space allocation requirements for
the database? Are the permissions on the file system of the test environment
alright?
The message is referable to the SQL Server error 3140, and the possible
causes could be: lack of space on the disk, wrong name of the file, porblems
with the transaction log file; search for SQL Server error 3140 (Google it!)
Gilberto
"Richardw" wrote:
> Hi All,
> We are trying to restore a database from a live system to our test system.
> However, we are receiving the following errors when attempting to perform
> this restore
> "Modify file encountered operating system error 112(error code not found)
> while attempting to expand the physical file
> Cound not adjust the space allocation for file FILENAME"
> I have tried searching online for this, but have had no luck. Also, when we
> perform a restore of the backup from the test system this works fine.
> Any help will be most appreciated|||Hi Gilberto,
Thanks for this, I had just noticed that the disc was seriously short on
space and am just trying to clear some, hopefully it will reolve the issue
"Gilberto Zampatti" wrote:
> it seems too easy, but: did you verify the space allocation requirements for
> the database? Are the permissions on the file system of the test environment
> alright?
> The message is referable to the SQL Server error 3140, and the possible
> causes could be: lack of space on the disk, wrong name of the file, porblems
> with the transaction log file; search for SQL Server error 3140 (Google it!)
> Gilberto
> "Richardw" wrote:
> > Hi All,
> >
> > We are trying to restore a database from a live system to our test system.
> > However, we are receiving the following errors when attempting to perform
> > this restore
> >
> > "Modify file encountered operating system error 112(error code not found)
> > while attempting to expand the physical file
> >
> > Cound not adjust the space allocation for file FILENAME"
> >
> > I have tried searching online for this, but have had no luck. Also, when we
> > perform a restore of the backup from the test system this works fine.
> >
> > Any help will be most appreciated

Sunday, February 26, 2012

Error message when trying to do a maintenance plan

Hi all,

As far as I can tell I have installed all features of SQL2005 but when I try to setup a maintenance plan I am receiving this message:

TITLE: Microsoft SQL Server Management Studio

The action you attempted to perform on a remote instance of SQL Server has failed because the action requires a SQL Server component that is not installed on the remote computer. To proceed, install SQL Server 2005 Management Tools on the remote computer, and then try again. For more information, see "How to: Install SQL Server 2005 (Setup)" in SQL Server 2005 Books Online, or find the article on MSDN at http://go.microsoft.com/fwlink/?LinkID=57083 . (ObjectExplorer)

For help, click: http://go.microsoft.com/fwlink/?LinkID=57083


BUTTONS:

OK

Any ideas on why this is happening?

first of all you must apply sp2 of Mar

http://www.sql-server-performance.com/forum/topic.asp?TOPIC_ID=19624

There are many problems related to MP solved in this version. Check whether you have installed Integration services and the services is running

Madhu

|||

First things first, have you applied any service pack after you have installed the SQL 2005 components on thsi machine?

If not try as suggested to take care of such issues with maintenance plans.

Error Message when restoring Database

I am receiving the following error message when I am trying to restore a database in SQL Express 2005. Has anyone ever seen it before?

microsoft.sqlserver.express.connectionInfo

Could you be more specific to provide the error you are getting?|||


The snippet you pasted is just the class (including the namespace) where the error has occured. You will have to paste the whole exception information (eventually including the stack trace) in order to help you.


Jens K. Suessmeyer.


http://www.sqlserver2005.de

Wednesday, February 15, 2012

Error message

I am receiving this error:
SQLServerAgent
Alert Engine 318 N/A
Unable to read local eventlog (reason: The event log file
has changed between reads).
Did anybody see this error before?I believe this happens after Windows has emptied the eventlog. I.e., nothing to worry about.
--
Tibor Karaszi, SQL Server MVP
Archive at: http://groups.google.com/groups?oi=djq&as_ugroup=microsoft.public.sqlserver
"Adnan Ghalayini" <anonymous@.discussions.microsoft.com> wrote in message
news:73ce01c3b423$5639cef0$a601280a@.phx.gbl...
> I am receiving this error:
> SQLServerAgent
> Alert Engine 318 N/A
> Unable to read local eventlog (reason: The event log file
> has changed between reads).
> Did anybody see this error before?