If you are unable to create a new account, please email support@bspsoftware.com

 

Access to the network path is denied while copying a file to the network folder.

Started by sandeeppenmetsa246, 05 Mar 2012 04:27:59 AM

Previous topic - Next topic

sandeeppenmetsa246

Hello All,

   I have the code in .net. While copying the zip file from my pc to the network shared folder, I am able to copy the zip file, if I run the code in .net. But if I run it through IIS, I am getting the error saying that Access to the path is denied. If I copy the zip file to any of my local folders, I am not getting an error. The error occurs only for the network shared folder while accessing through IIS. May I know what is wrong? Thanks in advance.

MFGF

I have no idea what you are trying to use or achieve here. Is this Cognos 10? What component?

MF.
Meep!

sandeeppenmetsa246

It is cognos 10. I am using this for import. For example if you need to import from one system to other, to import into other system, we need to copy the zip file to the deployment folder in other system.

MFGF

Yes - ok. You copy the deployment export from the deployment folder on one server to the deployment folder on the other, then use an Import to read it in to the new server. What is the issue you are facing?

MF.
Meep!

sandeeppenmetsa246

If I debug the code in microsoft .net, I am able to copy the zip file to the shared deployment folder of other server. If I go to cognos portal and try to copy the zip file to the shared deployment folder of the other server(which runs through IIS), I am getting an error saying that the access to the path '' is denied.

Grim

Are you running Cognos Services on Windows and from a named account? If yes, does that same account have full access to the deployment folder?
"Honorary Master of IBM Links"- MFGF
Certified IBM C8 & C10 Admin, Gamer, Geek and all around nice guy.
<-Applaud if my rant helped! 8)