Hi All,

I have been developing an app that will run on my work intranet. The whole appliation works but part of the app is to open a specific PDF file from a selection. So i pass the file name and path to the

System.Diagnostics.Process.Start(FileName)

But it keeps erroring telling me that the file cannot be found.

Now the web application is on server A and the files are on Server B.

As i said, when from the development server in VS 2008 it works fine.

Is there somethign to do with the files now being on a different server?

Any help is greatly appreciated

First try to connect between one server to another,Use Command prompt

When you run your application in VS 2008, it will run under your nt login credentials.

But when you deploy your application in IIS 5.x in Windows XP, it will run under aspnet account and Network Service account in Windows 2003.

Therefore the above accounts may not have access to the folder where your file exists. Just checkt that.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.