•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 391,656 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,763 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 8620 | Replies: 21
![]() |
•
•
Join Date: May 2004
Posts: 18
Reputation:
Rep Power: 5
Solved Threads: 1
Hi,
my asp.net app runs on my laptop but when i put it on my webserver, the aspx pages won't load. I'm a pro VB programmer, both computers are on win2000 pro. it says: error in "/" application. I think the code is ok, no trace or debug problems, so it's iis or what?
I'm not familiar with pws, do i have to do special setups or should i just put win2000server on the webserver?
I'm thinking of running a webserver with a static IP as I have to update databases daily, would I still be better off to use a web hoster?
thanks, tommi
my asp.net app runs on my laptop but when i put it on my webserver, the aspx pages won't load. I'm a pro VB programmer, both computers are on win2000 pro. it says: error in "/" application. I think the code is ok, no trace or debug problems, so it's iis or what?
I'm not familiar with pws, do i have to do special setups or should i just put win2000server on the webserver?
I'm thinking of running a webserver with a static IP as I have to update databases daily, would I still be better off to use a web hoster?
thanks, tommi
Did you type the URL directly in? For example www.mywebserver.com/index.aspx if that works, then the reason you aren't seeing your page by just typing www.mywebserver.com is because the page name hasn't been added in in IIS. Go into IIS, locate your website, right-click, go to properties click on the documents tab go to add and add your document "*mypage*.aspx". If this doesn't solve the problem, could you please go through the steps you did in order to publish the site on your web server, usually, you just:
go to Project>copy project
type in your url for your web server
Use frontpage web access method
Copy only the project files needed to run this application
if that doesn't work, could you please explain what method you used in publishing and the exact error.
Hope I helped
Slade
go to Project>copy project
type in your url for your web server
Use frontpage web access method
Copy only the project files needed to run this application
if that doesn't work, could you please explain what method you used in publishing and the exact error.
Hope I helped
Slade
Formerly known as Slade.
When you put it on your webserver, did you just copy the files over?
Is .NET Framwork installed on the webserver?
If so, you have create a Virtual Directory in IIS that matches the directory you placed those files in. Asssuming not right into the wwwroot folder.
Slade is correct in asking how did you publish, create or otherwise generate these aspx pages?
We need to know a little more to fully answer your question.
Is .NET Framwork installed on the webserver?
If so, you have create a Virtual Directory in IIS that matches the directory you placed those files in. Asssuming not right into the wwwroot folder.
Slade is correct in asking how did you publish, create or otherwise generate these aspx pages?
We need to know a little more to fully answer your question.
Assistant Manager, Regional Pharmacy Information Systems
TLC Services Website (Under Construction)
Updated : ASP.Net Login Code
TLC Services Website (Under Construction)
Updated : ASP.Net Login Code
•
•
Join Date: May 2004
Posts: 18
Reputation:
Rep Power: 5
Solved Threads: 1
Thanks ALOT for the info. I just copied the aspx pages into a folder I created in c:\inetpub\wwwroot, then created a virtual directory which I'm using in the URL (the URL uses a static IP at this time, no domain yet). So I didn't add the pages in iis or "publish" the site as I would with a frontpage created site. I assumed anything in the virtual directory would be available. I will try the things you have suggested and report back.
tommi
tommi
•
•
Join Date: May 2004
Posts: 18
Reputation:
Rep Power: 5
Solved Threads: 1
Hi,
.net framework is installed. I used notepad or asp.net Web Matrix to write the .aspx pages. I created a virtual directory which points to the folder where I simply copied the pages (and added a bin folder).
I can use the browser to view htm or asp pages via http://webserver/index.htm for example, or use my static ip to view as in http://xx.xx.xx.xx/index.htm or access a virtual directory in both ways (webserver or static ip) such as http://xx.xx.xx.xx/vd/index.htm.
I can add a default document to iis properties, such as index.htm and have it come up.
but aspx pages don't come up.
as far as Project> copy with FP web access method, what software is that in? I'm not using that, should I be using it? Can you create aspx pages in FP or would that be InterDev you are referring to?
.net framework is installed. I used notepad or asp.net Web Matrix to write the .aspx pages. I created a virtual directory which points to the folder where I simply copied the pages (and added a bin folder).
I can use the browser to view htm or asp pages via http://webserver/index.htm for example, or use my static ip to view as in http://xx.xx.xx.xx/index.htm or access a virtual directory in both ways (webserver or static ip) such as http://xx.xx.xx.xx/vd/index.htm.
I can add a default document to iis properties, such as index.htm and have it come up.
but aspx pages don't come up.
as far as Project> copy with FP web access method, what software is that in? I'm not using that, should I be using it? Can you create aspx pages in FP or would that be InterDev you are referring to?
Tommi - Just curious, but you mentioned that you used the ASP Web Matrix to create the ASP pages, did you run them from that program as well? The reason I ask is that Web Matrix will create an "on-the-fly" Virtual Root with the port set to 8080. Could you try this and see what the result is, if you haven't already.??
And also give check the following (see attached pic) to verify that aspx is a listed document, and stop & restart IIS.
And also give check the following (see attached pic) to verify that aspx is a listed document, and stop & restart IIS.
Assistant Manager, Regional Pharmacy Information Systems
TLC Services Website (Under Construction)
Updated : ASP.Net Login Code
TLC Services Website (Under Construction)
Updated : ASP.Net Login Code
•
•
Join Date: May 2004
Posts: 18
Reputation:
Rep Power: 5
Solved Threads: 1
Hi Paladine,
yes the default.aspx is listed in properties/documents as shown.
aspx pages load ok with web matrix, so web matrix loads index.aspx page on the fly using port 8080 to browser.
also, on other computers (my laptop), i can view these aspx pages in browser. so I'm wondering if it's something with my windows or iis setup or net framework issue on my webserver, as only aspx pages won't load.
on website properties/home directory/ settings-app mappings, aspx is listed with executable path to my .net framework location- but I always get "compilation error", code 128 when loading an aspx page.
thanks, tommi
yes the default.aspx is listed in properties/documents as shown.
aspx pages load ok with web matrix, so web matrix loads index.aspx page on the fly using port 8080 to browser.
also, on other computers (my laptop), i can view these aspx pages in browser. so I'm wondering if it's something with my windows or iis setup or net framework issue on my webserver, as only aspx pages won't load.
on website properties/home directory/ settings-app mappings, aspx is listed with executable path to my .net framework location- but I always get "compilation error", code 128 when loading an aspx page.
thanks, tommi
Ok, well I did some looking into this error, and it seems to be a random occurring error, with no reason.
I would re-install .NET Framework, and see what happens. I use to get this same error on my Windows 2003 Server, but with a reinstall it cleared right up. Not such an easy task I know.
One other suggestion is to post this error message at ASP.Net Forums as those folks have a ton of experience on .NET. I search the forums already with not results on that error message.
Sorry dude, wish I could help more.
I would re-install .NET Framework, and see what happens. I use to get this same error on my Windows 2003 Server, but with a reinstall it cleared right up. Not such an easy task I know.
One other suggestion is to post this error message at ASP.Net Forums as those folks have a ton of experience on .NET. I search the forums already with not results on that error message.
Sorry dude, wish I could help more.
Assistant Manager, Regional Pharmacy Information Systems
TLC Services Website (Under Construction)
Updated : ASP.Net Login Code
TLC Services Website (Under Construction)
Updated : ASP.Net Login Code
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb ASP.NET Marketplace
- Previous Thread: ASP.NET: Problems with CustomValidator...
- Next Thread: Populating & Retrieving Data in a listbox : ASP.NET (w/ VB.NET)


Linear Mode