I have problem that just started showing up and I have no idea where it is coming from. I am making a website (ffctestsite.com) that uses the CSSFriendly.dll and .browser files to make a menu control look pretty. Unfortunately, it looks great when I preview the page from VS2010, but as soon as I publish it, the menu turns into a text menu and it doesn't render any of the ul's and li's that I expect to see. If you go to [URL] I've posted a picture of the code before and after publishing. I am using .net 3.5 because my host is slow at adopting new frameworks versions, but it worked until about a week ago. It just stopped working after that.
After months of work I thought I had finished with my web application using VS2008 with CSSFriendly menu. On publishing, the menu did not work and I got all sorts of errors. Deleting CSSFriendlyAdapters.browser in App_Browsers folder improved the layout but the menu was not rendered with css even though the html source shows thet are linked. On desperation, I changed the target Framework from 3.5 to 2.0 and then back to 3.5 with no avail.
I've published my website and tried to host in my localsystem.Im getting the login page but cannot login to my application.When i click the submit button in the login page,the page simply refreshes and comesback.The page is not showing any error like 'invalid username or password' which i've set for not proper login
I am using visualstudio 2008 and iis 5.1.What could be cause of this error ??
So i've got a website i''ve been working on using the visual studio development server. When I published it to my web server, the menu control sub-items are not showing up in IE8. They do in firefox. They show in both just fine when working through visual studio.
My dev machine: studio 2008, windows 7 64bit
production server: server 2003 standard 32bit, iis6
Could it be a different version of the .net framework?
I am a newbie at ASP.NET and I am testing ASP.NET Webforms using Microsoft Visual Web Developer 2010 Express to create a sample webpage that allows me to add/delete/edit some tables in a grid directly to a MSSQL2008 database.I did follow te steps on the sample video 'Build Your First ASP.NET Application with ASP.NET Web Forms' on http://www.asp.net/general/videos/build-your-first-asp-net-application-with-asp-net-web-forms an this works fine on my local machine, I am able to add/delete/edit tables in a gridNow I want to publish the webform and database to my webhosting provider and after this my problems started. I founding problems publishing the webfiles using a normal FTP user wich I can use correctly using any other FTP clientI also getting a error when publising my database. I am connecting via the databaseserver IP or host using a normal SQL authentication that works fine at any other connectionscript.What is going wrong?1) Does anybody have a clue what is going wrong?2) Does anybody have a manual or something to publish a ASP.NET Webform from your local machine to a live Windows server?
In my Visual Studio 2008 web site, I created a new folder named Reporting. Then one of my web pages creates an xml file in this new folder when the user clicks a button. The user then clicks another button and the xml file displays in the browser. This all works fine on my development PC. But if I publish this web site to my production server, it does not work. I get an error when I click the first button to create my xml file. The error reads: Could not find part of the path 'c:windowssystem32inetsrvReportingabc.xml' What must I do so that this works on my development PC and also my production server?
I have a button in a gridview. The button is associated with a style sheet. The style has a background image associated with it. It works fine in developement but when I publish it to our server, the images don't show up. If I publish it to a hosting site, it works. It use to work. The images are in the directory. IIS 7
I need a submit form in my site and tried to use this code to create one. It works on one of my sites but won't on this one (see the problem at [URL] I am posting my code below that goes with the page published at the above URL. Can anyone tell me why it displays the way it does instead of as a submit form?
'm looking for an ASP .net discussion forum widget:I have read somehwere that the ASP .net forum implementation is avialable, but haven't been able to find it :-(.I have found yet another forum, but is GPL licensed, that means... not usable for a commercial product without publishing the source code.JitBits looks good, di you have any experience with this product?On the other hand my client is VB .net based, all the forums implementations I have found are C# based, will that mean that I have to create a subsite?
I have a simple file input field that utilizes a File.Copy routine to move the file from the local store to the server. This part of the application works fine in staging but in production I had to establish a work around in order to get it to work. I have the users do a Save As on the file they want to upload and then slightly change the name of the file and then it will upload. I do not have to do this in staging with the same file in order for it to work. I am racking my brain as to whether this is a permissions issue or code issue or what.
I have a url which I wish to encode that contains a couple of encrypted querystring parameters:
I've been asked by a client I'm working with to html encode this url. I've used HttpUtility.HtmlEncode() to do this. This returned the following:
This appears to be correct as the '&' has been replaced with '&'. However a problem arises when I try to use HttpUtility.HtmlDecode() on this new value as I get the following returned:
What appears to have occurred is the '&' has had the 'amp' removed and the ';' has been html encoded (I checked the value of '%3b' and it corresponds with the html encoded value of a semi-colon). I'm not sure why this is happening?
I realise I could manually do a .Replace("%3b", "") as a temporary fix but I can't see this being a good long-term solution.
I am rewriting a website for a company who want to keep the existing stock listing format of asp pages pulling info from an uploaded access database. I have left all the asp code alone, just changed the html around it to accommodate a better (albeit not perfect) design than previously used. I have also been adding items to the database exactly the same way the staff do it now.
However, when I view the pages, there is no content, only the html "wrapper". I get the error message displayed where the content should be: "An error occurred on the server when processing the URL. Please contact the system administrator.
If you are the system administrator please click here to find out more about this error."
I am running IIS on my local machine and as far as I am aware, it is configured correctly. I can view asp pages that do not request content from the database fine.
Pages are served on my local machine under c:inetpubwwwroot Database is served under c:inetpubdb
I have two lines of dropdown menus. There are 3 dropdown in each line (together 6). First dropdown in each line is "independent". The second and third are dependent. If user selects second, page loads and user can then selects item in third. So user have option to select first OR second and third in each line.
Since I've found out that you can't validate dropdown controls directly with CustomValidator I've wrote few lines of code for each of dropdowns to insert some values in txtBx_Cln1n2 which will be hidden when the page will be finished.
Unfortunately the code for CustomValidator have some bugs. If user doesn't select anything error message is shown. But if he choose 1 employee and then second and then select (I doubt that anybody will do this but I want to be sure and prevent as much exceptions as possible) the first item in one of the dropdowns ("all employees" or "employees by group") the custom Validator will allow execution of code for link button although the validation code should prevent this.
I know I could this a little better since code is quite complicated if I want to tell the user which employee he/she forget to enter. I've tried instead of SelectedItem.Value also SelectedIndex != 0 but the problems are the same.
I couldn't validate this without the use of textbox. But this method is also making complications since user can select 2 employees and then in one of the selected dropdown change selection to index = 0. Maybe I have to disable viewstate on all dropdowns? But this would probably affect INSERT of data?
Then i saw a new problem....after i went back to fix something on previous pages 1 and 2, i would click the next button to go forward to pages 3 and 4 that i've already started filling out and now the data on those pages were cleared. So how do i make it so that the information from the whole program stays filled out whether i go back and forth from the 1st page to the 4th until i click submit on the 4th page?
I've got a form with 3 drop down lists. If I choose a report on the Actions DDL, which displays a sql report as a pdf, then select an item in one of the other DDL's, the SelectedIndexChanged event for the Actions DDL is fired again. I can't get the other DDL's SelectedIndexChanged event to fire.
I have an AJAX enabled ASP.Net 3.5 app in which I have:
A Master PageA Web Content PageA User ControlMore precisely, there's a Placeholder control in the Web Content Page into which one of many User Controls are loaded (one at a time or none at all).
The basic User Control I'm working with has a bunch of Labels and one DropDown ListBox. The latter control is a date selector - ie. June 2010, May 2010, April 2010, etc. When the user changes the date, since AutoPostBack = true for the control, a PostBack occurs. But when this happens, the User Control disappears!
All I want is for a partial postback to occur so that I can use the new date to repopulate the various Label controls. I even put the Placerholder control in its own UpdatePanel but this didn't resolve anything - the User Control still disappeared.
I'm using a GridView to retrieve data from a stored procedure using a SQLDataSource (db is SQL Server 2008). When I compile my application and go to my website, all the data is loaded and shown fine. If I was to add a new entry to the table however (a seperate page on my website has a Wizard control to facilitate this) and then return to the page with the GridView, the new entry doesn't show up.
Looking from SQL Server, the data has been added, but the GridView isn't updating to show it. If I were to recompile the project with F6 and refresh the page, the new data will show up. I tried calling DataBind() on the GridView in the Page Load event, however the issue still remains.
I have a GridView in ASP.NET. I have an Edit CommandButton for every line in the GridView to edit the data on that line. All of this works fine except for the fact that when the user clicks on Update, it does not update with the correct value that the user entered. I have this as a Template field with the textbox to edit bound to the field, so it updates when the user changed the value and clicks Update. However it does not work. I have tried almost everything and its very frustrating. Here is the code for the Data Source:
<asp:SqlDataSource ID="Table1DataSource" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString2 %>" InsertCommand="INSERT INTO TABLE1(ProjectId, WBS, WBSTitle, VersionId) VALUES (@ProjectId, @WBS, @WBSTitle, @VersionId)" DeleteCommand="DELETE FROM TABLE1