Configuration :: How To Move A Secure Application To A Production Server

Jul 20, 2010

I am rather new to asp.net but I have built a couple of apps that do not require users to login. am having some problems moving my secure .net application from my laptop to a production server, however, and I am hoping someone can help me. On my laptop my application's user authentication functions as it should, but when I move my application to a webserver I get an assortment of errors. Forgive me if these questions are a little basic. My first question is this. In a production environment do I move the ASPNETDB.MDF file in the App_Data folder to my SQL server? Is it OK to rename it to something more descriptive?

View 4 Replies


Similar Messages:

Configuration :: Move A Local Development Database To The Production Server?

Jul 28, 2010

Problem: I need to move a local development database to the production server without any of the test data.

I am running SQL Server Express 2008 and SQL Server Management Studio 2008.

To create my ASP.NET Membership 2.0 system I created the DB initialy and ran aspnet_regsql.exe

I then added my own tables manually to store additional information.

I adjusted the web.config file with an application name.

When I ran a sript the application ID name was created and populated in the aspnet_Applications table. My script created a new member created and added to the admin role. Ok so everything go so far.

Now I want to move the local DB to the server. I know the connection string and can change this in the web.config.

My hosting company doesn't provide restore, so I don't think I can backup and restore

Q 1. What would be the best way to move the database across. Bearing in mind I need to clean the database out of test data.

Would it be just generate an SQL Script for the database and run it as a query on the server? And if this is the best way then do I need to set the permissions for the ASPNET user?

Q 2. What is the best way to clear out the data in the local database.?

View 1 Replies

Configuration :: Deploying Application On Production Server

Mar 17, 2011

I have deployed simple application on production server it just update sql server table via update query.

The problem is That when I run that app on development machine it updates table on remote server but after deploying it on production server and accesing the url on production server/and development machine my code doesn't execute and thus it don't update table.

I have created virtual direcotry and configured app with specific application pool which is custom based Asp.net account.

View 7 Replies

Configuration :: Application Blocked After Updating DAL For Production Server

Jul 6, 2010

Sometimes I would like to be able to update during day time my ASP .Net application. I noticed that quite often updating DAL's (.xsd files) that are in used will block my application (and users). The only way, I found to recover, is to restart IIS but my users do not like it.

Is there some more clean way to update an online server without disrupting the users ?

Could I identified the DAL which are in used and the users using them, so that I could somehow disconnect only these users (My application uses Windows authentication).

View 1 Replies

Configuration :: Application Works In Test But Not Production?

Oct 18, 2010

So my application worked great on my computer but as soon as I try and put it in production....I'm getting all sorts of issues.

[Code]....

This is the top of Default.aspx.vb.

[Code]....

View 10 Replies

Configuration :: Use Ajaxpro In Production Server?

Feb 2, 2011

I am using the Ajaxpro dll in my development server working fine.If i am going to deploying the code from production server its not working. I am getting the Ajaxpro is undefined..

View 2 Replies

Configuration :: Switching Between Development Server And Production Server?

Mar 22, 2010

I am wondering the best way to change my connection string based upon which server I am accessing.

Essentially, all of the development is done on our local machines - once we think it is working, we upload it to our development server. In these 2 instances, I want my application to go off of our "dev" connection string for the SQL database in the web.config.

However, once it is published to our production server (for an internal application), I would like the connection string to point to our live db.

I am using the N-Tier model by Imar Spaanjaars - and have it setup like he suggests - In my DAL I have a class called AppConfiguration -

In this class I have a public readonly property ConnectionString() which returns the connection string in the web.config.

This is in an individual class library. What I would like to do is something similar to:

If server is localhost OR devstring return devString else return productionstring

View 1 Replies

Configuration :: Writing Permision In Production Server?

May 5, 2010

In Production Server there are Issue with Writing in one of File. File not getting Write.I have give all the permsion even added EveryOne give full permsion.It's working on a windows 7 But Not working on a Windows Server 2008.R there any extra permsion need to apply ??

View 1 Replies

Recycle Web Application In Production Server?

Sep 1, 2010

I have made changes to my global.asax file so i want to recycle my web application to make the changes work. How to safely recycle my asp.net web application in production server?

View 3 Replies

Configuration :: DLL Works On Local IIS But Fails On Production Server?

Jul 14, 2010

I have used a dll named MARCEngine, which is used to read Marc data. I use a method named MARC2MARC21XML which converts a normal marc file to an XML file.

The problem is it works great on my local IIS, but when I upload it to the production server, it only generates the root node and not the child nodes.

Here is a snippet of my sample page :

[Code]....

Asp.net has the permissions to access the files geneated.

View 1 Replies

Configuration :: Calling Dll With Gives HTTP 503 Error On Production Server?

Jan 11, 2011

We have had some problems with using a unmanaged DLL file written in Delphi. (Unable to load dll - not found...)The following code solved the problem on my local machine:

[Code]....

1) The elusive DLL is copied to the ASP.NET temporary files folder2) To check this we get a list of files from that folder.3) The needed function is called with DLL-import.1 & 2 works perfectly - both run directly from Visual Studio 2010 and when uploaded to a webhotel3 works perfectly local, but causes the remote host to think a little and then return a HTTP 503 Service Unaviable error for the next few minutes...

View 1 Replies

Secure MVC Code When Deploy Applications To The Clients Production Environment

Jul 3, 2010

I am developing 2 Applications. One WebForms and the other is MVC. How can i secure the code such that when i deploy them to the clients production environment, they cannot be simply picked up, copied and repackaged by someone else?. I simply need a way to protect my intellectual property. Can this be done in Visual Studio 2010?

View 1 Replies

Server Error In '/' Application. NETDB.MDF On Production Server

Jan 22, 2011

I m getting the following error when i upload my site to Production Server using Database in App_Data ASPNETDB.MDF

Server Error in '/' Application.
Runtime Error
Description: An application error occurred on the server. The current
ustom error settings for this
application prevent the details of the
application error from being viewed
[code]...

View 2 Replies

Move Application To A Web Server?

Jun 22, 2010

I have an ASP .net Web Application already deployed on my local machine (virtual directory/IIS are configured). I used the Publish tool from Visual Studio. Now I want to move it to our Webserver (I have the IP adress and the appropriate credentials).

EDIT By the way, I'm asking because I don't know if there is a specific way to do this? I can do it manually by moving the files to the remote computer and configure IIS approriately.

View 1 Replies

Configuration :: Move Project To Test Server?

May 3, 2010

I have moved my entire project to my test server, everything went as planned with the exception of a couple of items. The main one that I'm having troubles with deals with subfolders of the website. On my local computer I created a my project then I created a sub folder, Secure, so that I can work with the security on the sub folder via ASP.NET configuration. I wanted only certain users to be able to access the folder, which works on my local computer, but when I try to navigate to it on my test server, I get a 404 error. I create two Roles on my local computer, but don't know if I'm able to make those roles on my test server. Is there a way to make those roles so that the security that I have on the sub folder will allow them to be displayed. Not certain why I get a 404 error.

View 3 Replies

Configuration :: Intelligencia.UrlRewriter Not Working On Production Server IIS6

Apr 27, 2010

i am using Intelligencia.UrlRewriter on my website and it works fine on my development machine, i tryed to deploy on IIS6 and i get this error:

The page cannot be found

The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.Please try the following: Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly. If you reached this page by clicking a link, contact the Web site administrator to alert them that the link is incorrectly formatted. Click the Back button to try another link. HTTP Error 404 - File or directory not found.

Internet Information Services (IIS)
Technical Information (for support personnel)

Go to Microsoft Product Support Services and perform a title search for the words HTTP and 404. Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Web Site Setup, Common Administrative Tasks, and About Custom Error Messages. this is the url that throws the error. [URL] this is the working url that is being rewriten to the above one. [URL]

View 2 Replies

Configuration :: Encrypted Web.config File - Production Server Error

Dec 27, 2010

I encrypted my web.config file and I copied this file to the production server. But I get an error. But without encrypting - it's ok. I used:

C:WindowsMicrosoft.NETFramework64v4.0.30319aspnet_regiis -pef "appSettings" "C:inetpubwwwrootSite1" -prov RsaProtectedConfigurationProvider

I don't have access to IIS. Is it possible to encrypt config file and everything works?

View 3 Replies

Configuration :: Import DLL (built On VC) In Production Box (IIS 7 And Windows 2008 Server)

Sep 23, 2010

I want to import a DLL (built on VC) in asp.net, and I have a major problem in PRODUCTION Box (IIS 7 and Windows 2008 server). First: I want to say that this DLL works fine in my DEV Box with web application written in C#, and my development server (Win XP SP 3, .NET Framework 3.5 and IIS6). But when I upload my code (web application code + DLL) in PRODUCTION Box (IIS 7 and Windows 2008 server). Web application doesn't work with DLL any more. I am sure that Asp.net knows this DLL well, and if it did'nt recognize it would give me an error, but my problem is that my DLL does'nt works proprely when I run it in IIS 7 under Windows 2008 server. Do you know any solution ? Can it be something with the IIS 7 permissions?

View 2 Replies

C# - Secure Web Server Asp.net / How To Implement Ssl In Application Code

Jul 20, 2010

I have a graphical user interface for my company product.I want to secure the data being sent back and forth between client and server.

Is SSL one of the options? some1 tell me the steps on how to implement it in my application code.

Do i need to buy the certificate or can i make it.. which is the best choice?

I am logging in using FormsAuthenticationTicket as follows:

Session["userName"] = UserName.Text;
Session["password"] = Password.Text;
Session["domain"] = Domain.Text; [code]....

View 3 Replies

Configuration :: Move Code To Server - Login Failed

Jan 19, 2011

I have a Asp Application built in VS 2010, it works prefectly on my box , when I moved the code to the dev server, it gives error on a particual web page saying cannot open the database requested by the login, login failed, the other web pages in the application are also suing the same database and they are loading perfectly.

View 4 Replies

Relative Urls For Images And Js Files In MVC Application - Diff Behaviour On Local And Production Server?

Mar 13, 2011

I have an MVC web application, the urls like following in my views folder:

<img src="../../Images/Delete.png"/>

are working on my localhost, but when I deployed the application on production server, they stopped working and when I use single ".." instead of double "../.." , they start working on production server.

View 2 Replies

SQL Server :: Retrieve Data From Database Into Label / Move Next And Move Back?

Jan 28, 2011

[Code]....

i want to get data from database of field Name and Gender, and then display it in Label name and gender. when i click save it move to next record and display name and gender that next record.

View 3 Replies

Configuration :: App Runs But When Move It To The Server, Get This Error On Server: ERROR [42S02]

Apr 14, 2010

, I've researched this quite a bit and I'm just not seeing the problem. The app runs beautifully when living on my pc - the app on my pc connects successfully to the SQL Server 2008 Express Database (which sits on a server - not my pc). However, as soon as I publish this application to the server that the SQL Server 2008 Express Database sits on, I get this error when I try to run the application:

ERROR [42S02][Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object name 'user'

It's behaving as if it either doesn't know where the table is when the app tries to run on the same server as the database or maybe the app doesn't have permission to hit the database once the app is on the same server as the database. I have connections on my pc and the server defined for this database, I verified that I set up each connection the same. I've also tried connecting using [dbo].[user] and this doesn't remedy the situation either. my connection string is in my web.config and it looks like this:

<add name="directoryConnectionString" connectionString="DSN=directoryProd" providerName="System.Data.Odbc" />

my sql looks like this:

<asp:SqlDataSource ID="SqlDataSource1" runat="server"

connectionstring="<%$ ConnectionStrings:directoryConnectionString%>"

ProviderName="System.Data.Odbc"

SelectCommand="SELECT fName FROM [user]"></asp:SqlDataSource>

View 1 Replies

Configuration :: Image Display / Move It To Live Server, It comes Up With An Empty Image Box?

Nov 8, 2010

I have a routine to display an image on an aspx page. The url for the image uses imagerender.aspx . This is simply an empty page with code behind:

myClass mysub = new Myclass(); // create class
Stream strm = mysub.DisplayImage(UserID); // call method to load bytes from db
byte[] buffer = new byte[2048];
int byteSeq = strm.Read(buffer, 0, 2048);
while (byteSeq > 0)
{
Context.Response.OutputStream.Write(buffer, 0, byteSeq);
byteSeq = strm.Read(buffer, 0, 2048);
}

Ok, this work fine when testing on my local machine, but when I move it to the live server, it comes up with an empty image box!

It looks like there must be a problem with security, maybe with ISS.

Does anyone know what changes I can make to fix this problem or what setting to change in IIS 7?

View 4 Replies

Configuration :: How To Secure The Source Code

Sep 22, 2010

If I deploy my ASP.NET project to a shared server web hosting, then is there a way to secure my source files so that the provider will not be able to access the source?. For example, the provider of my web hosting may download my files and then he will be able to get access to all my source.

View 9 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved