cancel
Showing results for 
Search instead for 
Did you mean: 

"Error writing to file" when deploying with VS2003 AND CR XI Release 2

Former Member
0 Kudos

I have a license for Crystal Reports XI Release 2. I've created a web setup project in VS2003, added the merge module, entered the license code in the properties, and built it, but I'm unable to install on the target server. The error reads: "Error writing to file: CrystalDecisions.Enterprise.Strings.Resources.dll. Verify that you have access to that directory." If I hit "Try Again," I receive the error "The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2350." I am an administrator on the target server with full rights. If I install on a machine that has never had any trace of Crystal Reports on it, it works perfectly - the install succeeds and my reports run in my web. However, on two other servers, there are some components of CR 11 installed and I see a web in IIS for crystalviewers11. Since developers share this box, I can't just go in and remove their older Crystal files (if that's even the problem here). What's going on? What's causing the errors when deploying?

Accepted Solutions (1)

Accepted Solutions (1)

former_member203619
Contributor
0 Kudos

It could be an older version of msiexec on their system.

http://www.appdeploy.com/msierrors/detail.asp?id=354

http://www.tek-tips.com/viewthread.cfm?qid=1280363&page=10

Or they could try going to windows update - that should give them a newer version of MSIExec.

Shawn

Former Member
0 Kudos

I updated msiexec to 3.01.4000.1823, the latest version for Windows 2000 SP3. It did not solve the problem. I ran verbose logging and here is the log before, during, and after the error:

MSI (s) (50:68) [14:33:51:084]: Executing op: AssemblyCopy(SourceName=CRYS~254.DLL|CrystalDecisions.Enterprise.Strings.Resources.dll,SourceCabKey=V0.600E3EC4_B069_4421_9656_596E9023B60A,DestName=CrystalDecisions.Enterprise.Strings.Resources.dll,Attributes=0,FileSize=442368,PerTick=32768,,VerifyMedia=1,,,,,ComponentId={8AB0E73A-A4F5-45A5-8970-08126F39DA1F},IsManifest=1,,,AssemblyMode=0,)

MSI (s) (50:68) [14:33:51:084]: Source for file 'V0.600E3EC4_B069_4421_9656_596E9023B60A' is compressed

(the line below appears a total of 56 times)

MSI (s) (50:68) [14:33:51:084]: Note: 1: 2360

...

MSI (s) (50:9C) [14:33:51:256]: Assembly Error:The module '%1' was expected to contain an assembly manifest.

MSI (s) (50:9C) [14:33:51:256]: Note: 1: 1935 2: 3: 0x80131018 4: IStream 5: Commit 6:

MSI (s) (50:68) [14:33:51:256]: Note: 1: 1304 2: CrystalDecisions.Enterprise.Strings.Resources.dll

DEBUG: Error 2835: The control ErrorIcon was not found on dialog ErrorDialog

The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2835. The arguments are: ErrorIcon, ErrorDialog,

MSI (s) (50:68) [14:36:04:504]: Product: WebSetup1 -- Error 1304. Error writing to file: CrystalDecisions.Enterprise.Strings.Resources.dll. Verify that you have access to that directory.

MSI (s) (50:68) [14:36:04:504]: Note: 1: 2350

DEBUG: Error 2350: FDI Server Error

BUG: Error 2835: The control ErrorIcon was not found on dialog ErrorDialog

The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2835. The arguments are: ErrorIcon, ErrorDialog,

MSI (s) (50:68) [14:36:08:692]: Product: WebSetup1 -- The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2350. The arguments are: , ,

Action ended 14:36:08: InstallExecute. Return value 3.

former_member183750
Active Contributor
0 Kudos

The issue is one of:

1) permissions

2) corrupted download

3) outdated Win Installer

1) To check if it is permissions, download perfmon from here:

http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx

and look for access denied, be it to a file, folder or registry

2) redownload the MSI / MSM

3) You mention that you have downloaded and installed the latest installer, but it may be a good idea to try the suggestion made by bcastner at this link:

http://www.tek-tips.com/viewthread.cfm?qid=1280363&page=10

Former Member
0 Kudos

Not sure how it would be permissions since I'm administrator with full rights to the server. I can't install perfmon - it requires Update Rollup 1 for Win 2000 SP4 or higher - our server is at SP3 (and sadly will still there for now, as it's a testing ground). I unregistered and re-registered msiexec - no difference. The other suggestions in that article don't apply in this situation - no cab files, I'm not installing XP, etc.

I copied the MSI to the machine again, no difference. I built the MSI again and copied again, no difference. And remember, this MSI works fine on other machines that have NEVER had any Crystal components on them. There's a cystalreportserver11 web on this machine and some files for Crystal 11 under Program Files, but there's nothing for adding/removing any Business Objects or Crystal Reports items in Add/Remove Programs.

former_member183750
Active Contributor
0 Kudos

Not sure what to say about CR 11 on that box as I don't know how that runtime got there. If we knew that there is no app usaing it, we could try to clean up the server, but as is...

Since perfmon does not work, try filemon and regmon (permon is essentially regmon and filemon in one). I'm pretty sure neither requires SP 4.

Filemon:

http://www.microsoft.com/technet/sysinternals/utilities/filemon.mspx

Regmon:

http://www.microsoft.com/technet/sysinternals/utilities/regmon.mspx

Answers (1)

Answers (1)

Former Member
0 Kudos

I have same problem. Is there any solution.

Tx

Avi

Edited by: avinashgaikwad on Jun 11, 2010 2:19 AM