Something was wrong with my IIS 'Service unavailable', I decided to uninstall IIS and then reinstall it, then the simple pages can be viewed but the aspx pages not. Then I uninstall SQL server 2005 and Visual Studio 2005 and reinstall it.
Now I can view simple pages but not aspx pages, but when running from the debugger of Visual Studio, it Works good. When I access an aspx page 'The page cannot be found' error occurs
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.
What I want to be able to do is create a user control that will display an entire page page within it. Does anyone know how to do this or better yet have any same code?
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 2 ASPX files. One is the main, the other a smaller one which is the center part of the main ASP file. Now, how do I load the 2nd ASP into the first one?
I have 2 ASPX files. One is the main, the other a smaller one which is the center part of the main ASP file. Now, how do I load the 2nd ASP into the first one?
what i shoud do if i want to set all the contents in .aspx page such that it will become fit in the internet explorer window, b'coz it always leaves some balnk space from right. hw can i solve this problem.
I have asp page. In that I want to call a aspx page in the background.That called aspx pages will send and receive mail in the background.The calling of the aspx pages should be hidden from the user.Is it possible.
i am using visual studio 03 to create a web app using asp.net 1.1 i created a table in a text box using System.Web.UI.WebControls.Table
i am adding data to it... i want to knwo how i can set the width of colums. i hve 2 columns and one of them is way to the left.. i hve fiddled around with the html and the tablename.blah.blah stuff but i dont know which one to use
In IIS, when I try to browse an aspx, I get a popup message asking me if I want to open or to save the file instead of actually browsing to the page. Any idea of what could cause this issue?
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".
I have a IIS server somewhere hosting an aspx website. Whenever i tried to access the website after some times, my browser will like wait about 10-20 seconds before showing the contents. But after that, subsequent pages is load up almost instantly. The page is not heavily loaded and every pic should be cached.
And sometimes, after 1 or 2 days didn't access the site, when i tried to access again, it will never load up the page. My IIS server is never shutdown running 24/7. I have to go to my IIS server and move around with the mouse then go back to my workstation and try again in order for it to work. (My IIS server (also my Internet gateway) will not go into Sleep mode because i still can surf from my workstation.)
We are hosting a web site, and within this web site we are trying to open a .aspx page within the DMZ. Is there anyway to do this? We are currently running Windows 2003 on both servers, and both servers are running IIS. Redirecting the page of course does not work, any other ideas?
I am working on a project where the site was already created using frames and .aspx pages. I was asked to update pages as well as add new functions. This project is an online training course for internal use only.
I need to put a Print Button on the left frame called "buttons.aspx". I need it to print whatever current content is on the main page. So, of course this will vary from page to page because each has a different file name such as 3_1.aspx and 3_2.aspx. I was able to get the Print function to work but it only printed the "buttons.aspx" page which was nothing more than a few navigational buttons.
I've got an aspx page with a 'mailto' with accented characters in the subject field, when the mail is created the accented characters aren't displayed correctly.
I have a folder on webserverwwwroot, called staticContent. The folder has several message of the day text files, such as RepMotd.text. I have an admin page, AdminMotd.aspx, that allows a user to view and edit the contents of the files.
Webserver is running Win Server 2003 64-bit and IIS 6.0. The development machine is Win XP, using Visual Studio 2005 (thus ASP.Net 2.0.)
In IIS, staticContent folder has Write checked and execute permission is set to Script Only . In NTSF, the folder grants full permissions to Network System.
When I try to overwrite an existing file in staticContent, or try to create a new file, I get a System.UnauthorizedAccessException. The Application error log on webserver notes that the error is on the page I am trying to run, that my user name is what I logged in as, that I am authenticated, and that the thread account name is NT AUTHORITYNETWORK SYSTEM. Elsewhere, I am able to read these same files and insert them dynamically into the web page.
This is the code that I am trying to run in AdminMotd.aspx, cut down to the basics. If it makes any difference, the code is run "in page" and not as part of a separate code-behind file.
****************** <script runat="server"> Protected Sub MotdChange(ByVal ThisFile As String, ByVal ThisText As String) Dim sw As StreamWriter = New StreamWriter(StaticRoot + ThisFile, False) sw.Write(ThisText) sw.Close() End Sub
Protected Sub RepMotdChange_Click(Byval sender As Object, ByVal e As System.EventArgs) MotdChange("RepMotd.text", RepMotdText.Text) End Sub </script>
I have traced that the error occurs when New StreamWriter is called, rather than when actually trying to write to the file. Obviously I'm missing something, but danged if I can find it.
I can get records from the database and display them on my asp webpage, I have a form with a sub form and id like the information to be displayed in a very similar fashion. how to do this. bear in mind i want to display all the records on one page and have the sub records nestled in.would i have to use to repeat functions?
Is it possible to use Visual Studio to create ASP.NET projects on a web server, without giving the various people that will be doing this full administrator privliges? Each user will need to have independent folders that they can modify (ie, one user cannot change the contents of another user's folder). Access to the server must be strictly limited for each user (preferably to just adding/removing ASP.NET projects). Having a similar problem with Frontpage. This is to be used for training.
I need to populate a field with html formated text. I'm using a simple form field to do so.
When I use a textarea to return the record, it comes out formatted, but when I use a Response.Write command, it comes out as plain text. Anyone can tell me how to make the response.write publish formated text?
I'm having a problem: I've two files, an html file and an asp file. What I've to do is to publish part of the html file into the asp file.
I started OK, the file was opened and that stuff. I published part of it, the problem is that it publishes from the middle of the file to the end of it, and I only need the middle of it.
For example, from the 3rd <tr bgcolor=#003399> tag to the <blink> tag I'd need to get published. But I get published from the 3rd <tr bgcolor=#003399> tag to the end of the file. Code:
We have been getting the EventID 7031 errors ever since we installed SP 3. We have been searching for any possible solution, but not much luck.
We are running Windows 2000 server with IIS 5.0 (No indexing services installed), and SP4. Every now and then, we have the 7031 for IIS Admim, SMPT and WWW services stopped without any apparent reason. We noticed that the Event Viewer logged those 7031 errors when all the hosted sites were stopped.
I wonder if a script can be written to detect the status of the sites and restart the IIS if they are stopped. If so, please provide information on that as I have never done something like this before.
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: