MVC :: Updating/maintaining A Deployed Website?
Jul 19, 2010
My site is currently running on IIS 7.5. I have installed SQL Server 2008 R2 on it. When working in VS 2010 on my local machine, what should I do to simulate the db during development? And how would I migrate that data to the db that exists on the server? How would I update my app with the new code? Simply re-compile and re-deploy?
View 6 Replies
Similar Messages:
Dec 14, 2010
Have a project where I need to access a RSS feed. The issue is this RSS feed, you need to be logged in as a user. They have a simple web form (login + password).
1) Post a web form with my login and password
2) Maintaining Session (w/successful login), do an additiional GET to retrieve the RSS feed.
I am doing this in an ASP.Net page so it all happens server side in VB.Net
View 1 Replies
Nov 18, 2010
This question kind of follows on froma previous one I posted. I have a .net web site deployed on a server.
In certain circumstances the site falls over. Specifically, when I browse to the site from my PC (which has visual studio) to the web server using a particular dns entry. So, I want to debug a browser session on my PC which is looking to a URL on a web server. How can I do this? Within VS when I attach to Internet Explorer no break point is ever reached?
View 2 Replies
Nov 12, 2010
i just deployed my web site to the remote server. I noticed that the menu (navigation) bar is doesn't display as on my local server. I am using visual studio 2010.The stylesheet was also deployed to my remote server. I am using the new asp.net 4 already designed navigation. It works find on my local machine but not on the remote machine.
View 2 Replies
Aug 2, 2010
I'm finally at the point of deploying my ASP.NET 4.0 MVC 2.0 -based web application to the target system and I am getting blank pages for everything - even for the login page. The web application is starting up cleanly without exceptions according to the logs, but none of my MVC routes are ever followed. Instead I get a 200 OK response with an empty page. Here's my environment:
The web application is the root application of a web site. This web site is associated with its own app pool. The pool is set up for .NET 4.0 with a specific local non-privileged user (not the default Network or System user), and this user has read access to the entire web site's tree.I am including System.Web.Mvc as a "Copy Local" reference, which is then in the bin area of the site. I have confirmed that the installed .NET 4.0 already has version 4.0 of the Abstractions and Routing stuff.The web site directory is in the Program Files tree, but any data the application reads and writes is in a different tree, a subdirectory of ProgramData. The app pool's user has read/write access to everything in that subtree. Evidence: the program is logging successfully to a directory in that tree.The site uses HTTPS but I have verified via trace.axd that it is getting through that stuff OK.
Here's what I've seen so far that leads me to suspect a routing problem:
I have a common base class for all my controllers that provides them with common resources. I have a log statement in its constructor, so I should see that in the logs if any of my routes are hit.Nothing is logged if I just give my https://systemname:81/.If I do https://systemname:81/Home/Index, which should be equivalent, I get a blank page from Firefox with a 404 error. (From IE, I get the standard IE 404 page - equivalent meaning.) I do not get the logging in that constructor.If I do https://systemname:81/Home.aspx/Index, I get the ASP.NET default 404 page and no constructor logging.However, if I do https://systemname:81/Home/Index.aspx, I still get the ASP.NET default 404 page, but my controller base class constructor is executed, as evidenced by the log message.
View 9 Replies
Apr 21, 2010
I'm experiencing a frustrating problem. I'm developing a website with ASP.NET 3.5 on a windows XP box. When a deploy it to our development server (Windows 2003, .NET 3.5 installed), I notice some forms look just slightly different. I am using the Ajax Control Toolkit as well and I have noticed that controls such as the Modal Popup look jacked up (they are not centered and the drop shadow is not directly behind the popup). Also, I have noticed differences in line wrapping and things like that. This is very frustrating because I think the site looks great and then I deploy it to give demos and some pages look screwed up. I am using the same version of IE when I view it on my local box and on the development box. Looking at the site on my local box (with IE8), it looks great. Looking at the site on the development server (with IE8 as well), it looks jacked up.
View 3 Replies
Aug 25, 2010
I'm currently in the process of deploying my C# website. In the development IDE everything works fine but when i deploy to ISS 7 some of the pages work fine but others will just randomly hang. Ive been using the tracing utility and debug code to see where the problem is occurring. This is where it gets weird. If I turn on the tracer and set the pageoutput to true it works as fast as it does in the IDE without the hangs but displays all the tracing information. If i set the pageoutput to false and leave the tracer on, it will return to having the same problem. Ive put time outputs through the system and everything is running through quickly. So im at the point now where if i have the tracer displaying on the website there is no problem. But if i don't display the tracer the problem occurs and i cant see the logs to pinpoint it. The problem is occurring after EndRender. Sometimes it loads the top of the page and then hangs. The pages do complete but can take up to 10 seconds. . The same problem is happening in both IE and firefox.
View 3 Replies
Nov 22, 2010
I have just deployed a website using the copy website tool and I'm unable to get to the login page. I just get an HTTP 500 page saying:
The website is under maintenance The website has a programming error. I'm not sure what is happening here. The connection string points to a server hosting my SQL DB so I don't have to amend that. The website runs fine on the dev machine so I'm at a loss.
View 6 Replies
Mar 9, 2011
I built Deployment package and feed IIS with that, but when I trying to visit my site, I see only files of root folder like FTP Whats wrong ?
View 1 Replies
Jan 26, 2011
I have a simple crystal report created on VS 2008 .net 3.5 sp1. The report works when I run it from the local host connecting directly to the live hosted database. When I copy the files to the host server it connects with out error but at the point where the report viewer frame would appear I get a blank page and Done displayed on the browser status bar.
The host server has Crw server installed on it and other websites on the same server are working OK.
View 1 Replies
Jul 27, 2010
In a situation where we accidentally published an asp.net website, without updatability, with one wrong URL, we'd like to just open that DLL and change the URL, to prevent waiting another week for the next publish opportunity.
In oldish native DLLs I knew how to change resources, but how would I attempt this with .NET DLLs? And is there an easy way, or only a hackerish one (I know of ildasm and ilasm)? If it matters, the string is a literal inside an event handler.
View 1 Replies
Oct 4, 2010
i m preparing a website based on asp.net forums .i have made all the forms reg., login , etchow to get the main grid which is on forums page.how to keep that updating every time.
View 2 Replies
Jan 4, 2010
I want to offline the website before I start update. So to do that I simply put App_Offline.html in the root directory and it works nice. Now when I open my site it shows App_Offline.html. But while I replacing the dlls in bin directory and this time I refresh the page I get "Runtime Error". So my question is that, is there any better way of doing this ?
View 8 Replies
Mar 3, 2011
I have the following scenario: a Silverlight application (constructed to be OOB) embedded at an ASP.NET website where, if the user already installed it, a label saying that is displayed; otherwise, an install button appears. Eventually I can update the .xap file available in the website.Now the problem: if the user executes the application through his Desktop/Start Menu, i'm able to update the application and suggest the user to restart it. But, if I update the .xap file and upload it again to the website, apparently no "Silverlight update" occurs, it is displayed as a new application (if the user install it again, an application icon is displayed at his desktop).
View 2 Replies
Feb 8, 2010
So my application is on a production and running smoothly with no bugs at all. yay! My question: Is there's more efficient way of updating an existing ASP.NET application? Here's what i'm currently doing ( dont laugh that's why im asking xD):
1. I compile the project,
2. after compilation i transfer the compiled files via ftp. then i delete the existing files on my folder and put the newer one.
View 10 Replies
Jul 27, 2010
There is a gridview in my website pulling data from sqlserver2005 . Now i want to update my website after every 5 min so that it can pull fresh data from sql. I know the basic idea that it can be done by using timer. But i don't know how to implement it?
View 5 Replies
Nov 24, 2012
I am required to develop a page for news updates where user of the website can see the latest news updates with images in hindi. Like some news paper website. [URL] ....
When user click on the read more or on the title of the news complete news will displayed on news on new tab.
when admin of the website update the new it will appear on the page. where recently updated news is display first position.
admin of the website have authority to do following task
1. update the news.
2.edit the news.
3.delete the news
Can i make use of sqlserver for storing the news or xml.
View 1 Replies
Mar 11, 2011
Upon page reloads I want to retain the values the user had typed in upon hitting submit. I worry about viewstates being cumbersome for pages, both in bandwidth and in time for a page viewer to download the page. I am cheap with my bytes :p
My question is instead of using server controls and such I am having the form on the page do a get to itself and on the aspx putting <input type="text" id="user_email" name="email" value="<%=Request.Form["email"] %>" /> This allows me to not use viewstate. Are there any potential shortcomings to doing things this way? My goal is always for a lighter page and efficiency even if it is more work.
View 1 Replies
Jul 11, 2010
I have a website that returns search results from Twitter, written in C# ASP.NET. The search works very well.When the user sees the results I want them to also have a 'Next Page' type hyperlink that will perform the search from the last previous result onwards (using Twitter's next_page data). How can I preserve properties so that when a link is clicked it will run the search again with different parameters for the next results? I cannot use Form as there is one Form on the page already and MS limits to one Form per page (for runat="server")
View 3 Replies
Mar 1, 2011
I'm going to launch a page - that will persist for a really long time using - using ASP.Net.
Page will have very little controls - will using jQuery ajax calls to build up and fill in the DOM for maintaining data in the backend DB.
How do I maintain who I am with the web service?
I'm used to pages that mostly use asp.net membership / session vbl stuff to maintain state.
That's not going to fly with why I'm doing here.
And I guess that also starts into "how do I secure this web service"?
View 7 Replies
Feb 19, 2011
I have some problems with maintaining scroll position after postback. First time I experienced the problem was when I (believe) added Combobox control from AJAX control Toolkit and/or UpdatePanel from AJAX Extensions. The problem is when I do the postback on the page the page is loaded at the top and not where I did the postback. Actually, this wouldn't be a problem if it isn't happening on a very large form. I have already tried using MaintainScrollPositionOnPostback="true", but it wasn't helpful at all. I can provide the code if needed, but I don't think it would be of any use because I have comboboxes inside update panels which are rebinded on a button click.
View 1 Replies
Mar 25, 2011
I have a gridview which is placed inside div tag to make the grid view to look like having scrollbars
<div id="divgrd" style="overflow: scroll"; width: 350px; height: 150px>
My grid is placed here.
</div>
Now it displays nice view of the grid with scroll bars. I am changing the color of the row selected from the grid. Only problem is if the grid has around 50 rows and I select the 50th row then the scroll bar moves to the top of the grid. I want to stop it and maintain the scroll position. I cannot change the height of the div tag as the grid may be very large if the rows inside is increased.
View 3 Replies
Apr 18, 2010
I'm building a payment page in asp.net, however the page where you order your items is run in HTTP (non-secure) on my domain.
When redirecting the user to the payment site, I have to go through a different domain (my payment provider, from whom I borrow the SSL certificate), so my payment url ends up like [URL]
Now the problem is my session is lost, but I store the order in session, so I desperately needs it.
Can I somehow send the SessionID in querystring, and restore the session from it - or do I need to stuff the entire order into querystring ? (Not too certain it'll fit though, it's rather long)
View 2 Replies
Jun 19, 2010
I have a page with several dynamically generated DropDownLists. The DDs load and display the correct values on page load. However, when I try to retrieve the values at post back, the DDs all seem to be maintaining the values they had at page load.
All are created in Page_Load;
No test for IsPostBack;
Processing is handled in code below:
[Code]....
View 4 Replies
Feb 2, 2010
We are using below class(TypeInterceptor) in one of our project to create the instance of business objects.
To Create any business object, we are using the below code
++++++++++
BLayer.TestBO objTestBO;
this.objTestBO = TypeInterceptor.CreateObject<BLayer.TestBO>();
+++++++++++
I think using this kind of creational pattern makes the application not scalable as the same instance will be shared among all the concurrent users.Is it correct?
Is there any better way to abstract the creation and maintaining instance of business objects
Class code:namespace Microsoft.IT.RelationshipManagement.Internal.CISF.Infrastructure
{
using System;
using System.Linq;
using System.Text;[code].....
View 5 Replies