I am an ASP/MSSQL noob, and have been handed the task of migrating an ASP/MSSQL environment to a new server.
I have successfully restored the MSSQL backup file, but am getting a very longwinded error when trying to process a .aspx file extension. (Please note that .asp files work fine)
Could this be an error with the web.config file?
Will i need to recreate that file?
I am unable to post the entire error message due to its length, but if the rest is necessary, I can paste it in subsequent posts. Code:
This is the error which i got when i tried to display message in my text box which is a aspx page.
Error which i got:Server Error in '/' Application. --------------------------------------------------------------------------------
Runtime Error :
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
My client has the need to upgrade to Windows 2000 Server from NT4 but are concerned about whether there existing custom code (ASP,VB6,MTS, etc) will work correctly once migrated.
where I might be able to find information relating to whatfunctionality has been deprecated in Windows 2000 Server since NT4 (I know CDONTS is one of them).
I recently upgraded my servers to 2003. Since then the error-information shown in the browser has changed.For example, if under Windows 2000 I executed an SQL statement from within an ASP, and the SQL statement was syntactically incorrect, the error thrown by ADO would finally show up in the client browser.
If I do the same with an Windows 2003 Server, only a "HTTP 500, internal server error" is sent to to client browser. The IIS LogFiles still show the actual error, but looking there is not that comfortable.Is this some configuration that can be done on the Windows 2003 server?
I need to write an application which should work as web application (ASP.NET) and it should have its counterpart for winforms - (they would do the same thing). My question is... what kind of pattern shall I use (MVP or MVC) for writing these apps to minimize overhead of rewriting code (e.g. I'll start writing winform app and then create similar web app )?
We are poised to migrate about 600 ASP sites from a single IIS5 server to a new pair of IIS6 servers. However, it appears that all files with includes like:
<!-- #include virtual="../../includes/file.asp" --> will not work on IIS 6, it returns ASP 0126, include file not found.
We have enabled parent paths, but I can't find any documentation that suggests that IIS 6 handles include directives differently than IIS 5. Has this in fact changed in IIS 6? We are trying to avoid a huge and messy "search and replace embedded text" exercise.
I have a ASP 3.0 web application that uses IIS 5.0 with W2K (with parent paths enabled). In my research about migration to IIS6 with W2003 it says that you need to change every INCLUDE FILE= to INCLUDE VIRTUAL=.
I call an ASP page at the root of the website and that ASP file has an include that also is at the root, and the include is like this:
<!-- INCLUDE FILE="copyrightstuff.htm" -->
So what I've read say that this has to be changed to VIRTUAL like this:
<!-- INCLUDE VIRTUAL="/websitename/copyrightstuff.htm" -->
I could do this for one website that has one name listed in IIS. However, my website code was designed to work on many different websites, each with different domain names. It seems like a LOT of work to have to change ALL the includes to accommodate the name given to the site in IIS. Code:
I have an asp.net page that I would like to open up another asp.net page within the first one. Like a parent - child relationship. I need to display a graph in the child on the parent.
I'm still new to server side languages, and have been going though asp 3.0 for beginners by wrox for about two weeks.Is it a waste of time to learn asp now since .net is supposed to be the future? Am I better off just learning php since it's so popular, and open source? I'm really lost, and kinda pissed off about the lack of backward ocmpatability for asp. I read .net is so completely different in all aspect, and it uses ado.net.
At the moment I know the following:
html/xhtml css tiny bit of vbscript/asp 3.0 adobe photoshop/image ready
What should I be focusing on learning. I'm scared i'll choose the wrong thing, and waste time on it.
I have been using ASP for a few years now. For the most part I have been able to make it do what I need for it to do. Is there a reason I might want to be learning ASPX? Can someone point out some of the general differences between ASP and ASPX?
I got some code in ASPX format but I have no idea about how to make it work.. like, I did this . I created a virtual directory in IIS . Gave default.aspx as the default document . When i enter the URL in Internet Explorer, it displays only the code rahter than displaying the output
I am having trouble publishing .aspx files in my Sharepoint Portal Server. I receive the message: "The page contains server script, which is not supported on this server", apparently due to the dual security of WSS and ASP. I have heard that there is a possibility of side-stepping this problem by publishing the files in the _layouts directory. Can someone please instruct me as to how to do this, or if there is a better way to get around this issue.
I have installed IIS on WINDOWS 2003 server. IIS is working only if I type filename.aspx for .asp or any other file its giving "HTTP Error 404 - File or directory not found. "
I've just taken a client who has a membership-based site served as aspx. Yhe relationship with his current host/developer is going south and I need to switch to new hosts and find someone to handle the backend stuff. Much of the site appears to be poorly structured - needlessly complex and yet lacking certain features. From my own limited knowledge of what I've seen of it, I'd have suggested using a drupal and a bunch of php... but I know little and may be talking out of my butt. I'm more comfortable with linux/apache... and I'm guessing that's incompat with the current work - or is it? The database is sql so is it viable to migrate away from aspx? Etc?
I don't know ASPx at all, but I working with some simple code here that is supposed to display the date automatically at the bottom of a page. Here is the code:
I am writing a script that requires two actions performed on the same page.upload pictures and store them on the server & 2) Send all of the variables from the WebForm to the WorldPay servers via the POST method. I am aware of the Server.Transfer and Response.Redirect methods but neither of these will do what I want.
Are there any soluitions out there in C# that I can used to do this easily( running out of time on this project!)?
if a .NET-built site is running on Windows 2000/IIS, can I put up some classic ASP pages? It will be under the same domain name, just on the aspx pages, they will have a hyperlink to my ASP pages, just like if they linked to any other web pages.
I have an aspx page that has the "include" code in it which includes another page that displays information. I also have an upload page that allows users to upload a simple html document onto the server. The include code calls that html page to display the text on that page.
The problem is when the user uploads that html page, the aspx page does not refresh to reflect those changes, even if the user hits refresh in their browse. However, if I manually connect to the server and open the aspx page that contains the code and hit save then the webpage updates to reflect the changes that were made to the include page. Can anyone help me fix this problem?
I have a problem with IIS and .NET 2.0. When I post to an aspx page everything acts as expected, the page is executed and I get the correct response. But when I send a GET request IIS just returns the code of the aspx page.
I tried switching to .NET 1.1 and it did not behave this way. I have been unable to discover why this happens.
I would like to display a text file using aspx. I realise that I can add a key for a text file in the web.config file. But what do I do after that? I would like to use c# to do this and I woudl like to try to understand how it can be done with a dll?
I understand how asp scripting works and how you put <% %> around your server script. However this is .asp . what is .aspx? is this the new version ASP.nET? I dont understand how it works when i create a new aspx project in vstudio.net and i create a aspx page in design view.
I add a button and then double click it to add code to that button. I dont see any html code around it? In an asp page the server side code is surrounded by html code. An aspx page almost looks like a normal vb application, why is there no html code around?
I wanted to code the new pages in asp.net. Is it possible to call aspx page from asp page. I mean say I have a button in asp page. On click of the button it should bring up the aspx page.
How can I configure my site to use extensions other than .aspx? For example, if I want helloworld.aspx to be helloworld.sp, how would I do that? I know that only the urls with .aspx extensions make it into my application_begin().