COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Cognos Administration => Topic started by: sandeeppenmetsa246 on 05 Mar 2012 04:27:59 AM

Title: Access to the network path is denied while copying a file to the network folder.
Post by: sandeeppenmetsa246 on 05 Mar 2012 04:27:59 AM
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.
Title: Re: Access to the network path is denied while copying a file to the network folder.
Post by: MFGF on 05 Mar 2012 11:20:37 AM
I have no idea what you are trying to use or achieve here. Is this Cognos 10? What component?

MF.
Title: Re: Access to the network path is denied while copying a file to the network folder.
Post by: sandeeppenmetsa246 on 05 Mar 2012 10:51:38 PM
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.
Title: Re: Access to the network path is denied while copying a file to the network folder.
Post by: MFGF on 06 Mar 2012 04:12:31 AM
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.
Title: Re: Access to the network path is denied while copying a file to the network folder.
Post by: sandeeppenmetsa246 on 07 Mar 2012 01:21:50 AM
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.
Title: Re: Access to the network path is denied while copying a file to the network folder.
Post by: Grim on 07 Mar 2012 09:32:18 AM
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?