Thursday, July 30, 2009

I have a Page in ASP.NET During Debug IT WORKS FINE, Accessing it online variables arnt working PLEASE HELP?!?

i have a class that makes text files storing plain text these text files are given a name plus a random integer then the file extention .txt


Ex FileName54233142.txt





EVERYTHING, i mean EVERYTHING works perfectly fine when debugging it in MS Visual Studio 2008, works great





then ill host it on IIS and connect through my IP address, (not loop back) the long way... and then it will give me a server side error saying the file could not be found.





the random number on webaccess is 0 (zero) all the time, dosnt matter and the file on the server is like Filename43123412.txt so of course its not there...





why is the integer not being populated when i access it through the net??





The integer is populated by a method i created that returns an integer that it finds in a SQL Database





please email me at theneonirvana@gmail.com if u wana see my C# class, once again everything works perfect while debugging, but the random number is not retrived or populated while published

I have a Page in ASP.NET During Debug IT WORKS FINE, Accessing it online variables arnt working PLEASE HELP?!?
after uploading to the webserver, did you change the path of the file location? eg. server.mappath


No comments:

Post a Comment