B
bwalke
I am saving pictures and files to a directory using VB.NET web pages.
On my development machine everything works fine. Development machine
is running XP Pro, VS.NET, .Net 1.1. When I post the pages on my web
server I get the following errors.
Object reference not set to an instance of an object.
Exception Details: System.NullReferenceException: Object reference not
set to an instance of an object.
Server is running 2000 server, Vs.Net not installed, and .Net 1.0.
What I have come to the conclusion is this code is throwing the error:
strFileName = File1.PostedFile.FileName
strFileName = Path.GetFileName(strFileName)
I have System.IO declared. Any ideas as to why will work on my
development machine and not from a client running off the server.
Thanks you much,
Brett
On my development machine everything works fine. Development machine
is running XP Pro, VS.NET, .Net 1.1. When I post the pages on my web
server I get the following errors.
Object reference not set to an instance of an object.
Exception Details: System.NullReferenceException: Object reference not
set to an instance of an object.
Server is running 2000 server, Vs.Net not installed, and .Net 1.0.
What I have come to the conclusion is this code is throwing the error:
strFileName = File1.PostedFile.FileName
strFileName = Path.GetFileName(strFileName)
I have System.IO declared. Any ideas as to why will work on my
development machine and not from a client running off the server.
Thanks you much,
Brett