Configuration :: Uploading Pages To Website?
Sep 8, 2010I created a website. If i upload html pages to my website, it works good. but when i upload asp.net pages, it cannot work. why? is there any coding changes to my web config.
View 2 RepliesI created a website. If i upload html pages to my website, it works good. but when i upload asp.net pages, it cannot work. why? is there any coding changes to my web config.
View 2 Replieswhat free website can i upload my asp.net pages for testing?
View 4 RepliesI hv a query regarding publishing the website. I use aspnet2.0 and for uploading we use filezilla.
Whenever I make any changes to my website (either in aspx or aspx.cs page), I need to upload the entire website (along with my bin folder, after publishing)again otherwise my site just doesnt work.Its very time consuming.
I have created a Website with some DataBase (using LINQ to SQL).
can i upload Website & DataBase at different Places like on different machine etc.
I use "CuteFtp" for upload Website.
how to upload a aspx website project to a webserver.
I have tried to test the website with the LocalHost, and it is working. The project has both aspx and html files linked inbetween. How can I upload the project to a webserver and test it with the URL address.
I got error 'Failure sending mail' after uploading my website online, but i m able to send mail when website is on local host:
[Code]....
[Code]....
i have created a website in VS 2008 express edition and i have a URL and hosting space and i'm sure the space in windows based and not linux based, all i want to know now is how to get my website onto the internet, do i have to up load it through VS or can i use a packaged such as filezila?
View 4 Repliesafter installing ssl for a website (by host admin)
all of pages are https now,
I need one http page? it is related to programming or iis?
If my application URL is this:
http://localhost:51422/MyApp/Pages/FormView.aspx
I want 2 things:
1- I don't want any people to delete "...../FormView.aspx" and go to this[URL] and browse the directory pages and folders names.
2- If anybody tired that, the application should redirect him to login page or home page.
When uploading a new DLL for a large web application (dll is around 1mb) IIS throws an error because the DLL is 'in-use', meaning the website is down while the DLL is being uploaded. Is there a way to stop this behaviour?
Also, although I am using Web Applications, not Web Sites, whenever I upload a new DLL it still takes a while for IIS to restart after a fresh upload. I thought this wait was generally only for websites as they need to be compiled by IIS, not Web Applications?
I'm currently developing a web application where everything works fine in the visual studio web server. It authenticates the user, access the database, writes to it, etc.
After I wrestled yesterday to publish it to my local iis, a subject I admit I have little to no experience of doing, suddenly the membership of the website started to not authenticate the users.
At first I suspected maybe the app wasn't accessing SQLServer, or that the data with the users I had in the asp.net membership database was erased when I uploaded the website.
So I stopped iis, i attached the db file to my local sql server, and I can see that all the users are there just like I uploaded them. I also can see the website can access another database with micellaneous contents just fine.
The loging controls don't tell me there's any problem either, they just show a message telling the user that the login attempt wasn't successful.
So, here's what I remember I did to make the app work as it wasn't even doing that when I first uploaded it.
I used the asp.net_regiis tool to copy website scripts to the website.
aspnet_regiis -sn <path>
then I deleted the website, uploaded again from VS. this time it shows in the browser but it doesn't authenticate the users.
The application isn't precompiled, I just uploaded it.
when developing in my pc , all is fine , but when upload to hosting , it show error ~
[img]http://image.love9cube.net/images/sadsadcgc.jpg[/img]
Page B - loads slowly and needs to do some CPU-intensive operations on the web server.
I noticed that when someone is loading Page B, then Page A also loads slowly. This is even worse if multiple users are loading Page B at the same time. Page A won't finish loading until Page B is done.
Is there a best practice for making sure that Page A can still load quickly? Maybe a config setting or IIS setting that I need to change from its default? With 2 users loading Page B at the same time, the web server CPU usage only gets to 30% so I suspect it might be something I can tweak with the settings.
When i'm trying to debug or view pages of my site in browser asp.net dev server doesn't turns on pages automatically and when im trying to go by url it throws me an error See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ComponentModel.Win32Exception (0x80004005): Не удается найти указанный файл
at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at Microsoft.VisualStudio.WebServer.WebServerForm_DAL.DoLaunch()
at Microsoft.VisualStudio.WebServer.WebServerForm_DAL.OnLinkClickedHyperlinkLinkLabel(Object sender, LinkLabelLinkClickedEventArgs e)
at System.Windows.Forms.LinkLabel.OnLinkClicked(LinkLabelLinkClickedEventArgs e)
at System.Windows.Forms.LinkLabel.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)............................
I have 2 asp.net sites (site1 and site2). site1 have a directory inside in called images. In images directory there are images. I need to upload files using site2 aspx page, but need to upload them to images folder of site1. how can I do that?
View 1 RepliesI understand there is a default set for the maximum file size you can upload to a ASP.NET site. I know how to change this limit in the web.config file.My problem is this; I need to be able to show an error page when this limit is surpassed. Right now, when I develop inside Visual Studio 2008I receive the page "Internet Explorer cannot display the webpage" error page along with the "Diagnose Connection" button. I thinkwe are all familiar with this page. I want to show my own page not this one. How can I keep this page from showing and instead show my own error page?
View 3 RepliesI need to let a company push information up to my site.The best way to explain what I am talking about is to explain how it is currently done with their previous website:This company uploads a CSV file to an FTP set up by the website. The website then processes the CSV file and puts it into an SQL database so that it can be used by the website.In this case, I am the website and I am working with the company. Both sides are willing to change what they do. So my question is...
What is the best way to accept batch information like this? Is there a more automated way that doesn't involve FTP? In the future I may have a lot of companies wanting to do this, and I'd hate to have to setup accounts for each one.The project is C# ASP.NET MSSQL
First time i m doing hosting and uploading of web application.can any one guide about the procedure.
View 3 Repliesi have an application with an upload page and require it to be able to upload large files. Everything works well with small files but when it comes time to uploading bigger files i am having troubles... I added <httpRuntime maxRequestLength="2048576" /> in web config but still when i tried uploading a 500MB file it crashes after a few minutes with an error application offline or unavailable after some searching i went to my application in IIS 7.0 went in "Request Filtering" > "Edit Feature Settings" and changed the default value "Maximum allowed content length (Bytes)" to 1500000000 and restarted my app now i do not get the application offline error after i start my upload but instead in seems to go in a never ending loop.. I tried with Google chrome and it displays the percentage of the upload but every time it reaches 100% it restarts back to 0%.
EDIT: It is not a never ending loop after like 40 minutes i get "The webpage is not availale" same message i used to get before i made the changes
i have created my website in vs 2008 using the localhost, now i want to upload it to my uni server. i have transferred all the files to the server but am getting this error. Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. review the specific error details below and modify your configuration file appropriately.
Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. Source Error:
Line 76: ASP.NET to identify an incoming user.
Line 77: -->
Line 78: <authentication mode="Windows"/>
Line 79: <!--
Line 80: The <customErrors> section enables configuration
I am using the fileupload control to upload an excel file to a server, but I am getting a
"Access to the path '\<server>importResponses.xls' is denied" when I try to use fileUploader.SaveAs(filepath). The filepath I use is \<server>importResponses.xls, so I am actually saving it to a share on a different server.My environment consists of a web server and a database server. I am trying to upload the excel file to a share on the database server. A stored procedure then takes that excel file and imports the data from it into a table. So the problem isn't with being unable to save a file to a share on the web server, but it's a problem with being unable to save a file to a share on the database server. It used to work, but now it doesn't and I have no idea why. What process(es) on the database server do I need grant write access for in order for the fileupload control to successfully save the excel file?Right now, I only have the Network Service account with read/write access to the share on the database server. I tried adding other accounts, such as the ASPNET and IUSR_<server name> accounts, but nothing seems to work.The web application that does the actual uploading is configured like this:
<authentication mode="Windows"/>
<identity impersonate="true"/>
Could that have anything to do with it?If you're asking why I'm trying to save an excel file on the database server instead of on the web server, this was the only way I got this to work. If anyone has a better suggestion on how to programatically import excel data into a SQL table, I am all ears.
i'm doing a website for a school and after uploading the site i get this error when typing in the web address: "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 tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off". "
the problem i have is the hosting company are saying it's not them and their IIS server is supporting .net 2.0 and it must be my code. i have even tried creating a brand new site and uploading that and I still get the same error. Because it's a school website i have to use the local government's hosting company so can't go anywhere else to host it. my question is is there any way i can create a website in .net 1.1 in vs? that way i can try to upload that site and see if it's displayed; at least if it does I can go back to the hosting company and tell them it's their server.
Uploading files or images in web server
View 2 Replieshave a web application which will allow me to upload files to my web folder. I have used the following code for uploading files (VB) on click of BUTTON UPLOAD
If FileUpload1.HasFile Then
Try
FileUpload1.SaveAs(Server.MapPath("/UPLOADS/" & FileUpload1.FileName))
[code]...
I have made an application for some customer that I'm going to transfer to a webhotel.I want to make sure that the application is not copied and used elsewhere without my knowledge. So I have thought of stripping the aspx files from their code behind, that is not the aspx.cs file itself. But from all code inside the cs file, not the one that is automatically generated like page_load etc, but everything else. And when done, then just upload the compiled DLL file(s). Does this work? Are there something to be mindful of if I carry out with this plan.
View 2 Replies