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


Similar Messages:

Configuration :: How To Move To The Testbox From Project Build

Mar 10, 2010

I have created a service project in VS 2005 that is ready for test. What files do I need to move to the test box from my project build?

View 9 Replies

Configuration :: Accessing Web Service In Dll From Unit Test Project?

May 25, 2010

I am not able to override the design-time URL of a webservice in my web config.

I must be doing something stupid

My Dll is called SMSLibrary2X which has a web reference to a UserService web service like this (taken from the app.config of the dll:

<setting name="SMSLibrary2x_TAMService_UserService" serializeAs="String">
<value>https://devss.ourdomain.ca:4452/UserService.asmx</value>
</setting>

, however, in the web reference, the URL property is [URL]

As I understand it, the app.config for the DLL is not really pertinent, except perhaps to copy the setting into the app.config of the unit test project.

So, In the SMSLibrary2xTests web.config file, I have this:

[Code]....

However when my unit tests run, always pick up the URL of the web service that I defined when I added the Web Reference to the SMSLibrary2x DLL project, which is fine for design time, but not appropriate when I want to point to different versions at deploy time (dev, QA, prod, etc). I just can't seem to get it to pick up the proper URL.

View 5 Replies

C# - Is A New Thread In A Visual Studio Test Project Aborted When The Test Ends

May 15, 2010

i have to do some message exchange with a 3rd party (in a website).When the client posts a page, i start the message exchange. When that doesn't succeed for some reason, i report this to the client by rendering the page with a message.On the background, in a separate thread, i start a process to send abort messages to the 3rd party. I can't do this while the user is waiting for the page to come back, because it might take a few minutes.But in a test project, the test ends when the message to the 3rd party is sent, and after the new thread is started. But it seems that the new thread also ends, when the test is done.

Is that normal behaviour?I do start the thread in a new class with a reference to 2 objects from the class which tries to send the message in the first place, may that be a problem?EDIT: it keeps running when the whole process is started in IIS

View 1 Replies

DataSource Controls :: External Project - Implement Website Developed On Test Server

Feb 5, 2010

I am trying to implement a website that was developed on a test server and make it go live. I am running into an issue with a function within the DB that decrypts a password. Here is the function

USE [ward2004]

View 3 Replies

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

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

How To Move An UI Testing For A Website Project To A Web Application Project

Oct 6, 2010

I was not able to do unit testing for our existing web site project. I converted the web site project to a web application project. I did some unit testing and changes on the converted web application project. However, my co-worker was doing UI testing on the web site project. We need put UI testing and unit testing to the web application project. Is it possible to move the UI testing code that my co-worker did to the web application project I am working? If so, how do you do it?

View 2 Replies

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 :: Error After Moving From A Test Server?

May 20, 2010

We move our hand from a test server onto a brand new server.but we've got a problem with the new server.

Error:Server Error in '/' Application.
Parser Error

Description:An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: The resource object with key 'lblMainHeader' was not found.

Source Error: [Code]....

Source File: /Default.aspx Line: 23

Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082

View 6 Replies

How To Generate A Unit Test Project Along With My New Project In Visual Web Dev Express

Jan 3, 2010

Taken from http://msdn.microsoft.com/en-us/library/dd410597(VS.100).aspx ...

If you are using the Standard or Express editions of Visual Studio, the Create Unit Test Project dialog box is not displayed. Instead, the new MVC application project is generated without a test project.

View 1 Replies

Configuration :: To Test The Database On The Server - Getting An Error Page?

Aug 6, 2010

I have .sql database that I created in Visual Web Developer. I have uploaded the .sql file to the host company and they have successfully imported it. When I try to test the database on the server I am getting an error page (listed below). I have inserted a connection string in the web.config file (see below) and isnerted the relevant fields.

<configuration>

View 1 Replies

Configuration :: Code Works Fine On Test, Crashes On Server?

Nov 5, 2010

I can't believe the number of issues that seem to work fine on test but completely crash and burn on production.I have a situation where the code works fine in the test/development environment, but when you press a button in production, it crashes with:

[Code]....

Its just a button push, that is suppose to rebind a quantity change back to the database that the user has changed in a textbox in Gridview Edit.

[Code]....

[Code]....

View 3 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

Security :: VS2008 Development Server (local Host) & Hosted IIS7 Site Different Configuration - How To Test Application

Mar 19, 2010

How can I test an application that I am publishing to a remote provider's IIS7 hosted site, with the VS2008 development server that is built in with VS2008 on an XP Machine?

My membership/roles work perfectly up on the remote host. On ths hosted IIS7 site when I try to access a secure directory it redirects to login, and I am able to login, however when I launch (debug - F5) from VS2008, it will provide that folder/resource, no questions asked. Same build, config, etc... nothing has changed.

I am running XP, and local IIS version installed is 5.1.

My guess is what is happening is that the new format required in the web.config is configured properly for IIS7 deployment, which is why it works remotely, but when running locally through VS2008/XP it is running with an older version on IIS and does not recoginize the new tags.

View 3 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

C# - Move To Mvc From Existing Project?

Feb 3, 2011

I have used .net framework 4.0 to design my web project I want to improve some features on my web site and I decided to use MVC in my project.

I research about mvc I found out System.Web.Routing in .net framework 3.5 is wrapped by System.Web in .net framework 4.0.

In the other side in my host environment I have IIS 7.0 with all necessarily handlers mapped to .aspx and some other extension like .cshtml and support them.

So I think I have all thing for mvc migration. my question is :

Is it possible to move mvc by configure web.config and make some structure for content, view and controller classes but don't change any asp.net pages and configuration like appcode and appdata which I had before in my asp.net application.

Note, I don't want to change or update my old application to mvc I want to add some mvc controllers class and view to my existing asp.net project to use mvc functionality.

View 1 Replies

Configuration :: How To Publish MVC2 Project To Server IIS 7.0

Oct 22, 2010

I can not publish my MVC2 project on my server.

My configuration is: VS 2010, MVC2, IIS 7.0

I have 6 different service clients in one project and as we all know when I debug the WCF client hosts them and all is working great.

If i publish up to my server the site will run but i keep getting this error after login.

There was no endpoint listening at http://localhost:8731/Design_Time_Addresses/CISS.Services/SecurityService/ that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.

This is suppose to be easy to publish your site correct? what settings do I need in VS 2010 and what is required on IIS 7.0 to get it to work?

View 2 Replies

Configuration :: Deploying The Project In Windows Server 2008 (iis 7)

May 11, 2010

I have a website build with .Net 2.0 Framework, I tried to deploy it in iis 7 ( Windows Server 2008 ). I get the following error when i browse the project. Server Error in '/' Application. Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: Your application is not running with full trust. Please call AspxLab.WebControls.Runtime.Initialize to manually initialize AspxLab Controls runtime environment. Source Error:

[Code]....

Stack Trace:

[Code]....

[SecurityException: Your application is not running with full trust. Please call AspxLab.WebControls.Runtime.Initialize to manually initialize AspxLab Controls runtime environment.]

a..ctor() +540
az..cctor() +140

Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927

View 3 Replies

MVC :: Move Controllers/Models Into A New Project/Assembly?

Oct 6, 2010

I have to admit first, that for the last few years, I've been mostly an MVP guy versus MVC. However, how I used to implement MVP is very similar to how MVC 2 is now implemented. I only have one issue with it...When I used to create MVP apps, I could put all my logic (presenters, models) into separate assemblies/projects in the solution and my views into the main web app. This allows me to change the UI (i.e. the web based UI) to something else like a smart client or Silverlight or whatever and still have everything just work. With MVC 2, everything is all in the same project: controllers, views, models. Areas looked like a good start, but ultimately, not what I was looking for.So, here's my question... How do I move the controllers and models out of the web project and into their own projects and still have everything work? A good, simple example would be the default MVC 2 web application template. When you open a new (non-empty) MVC web application, it creates a basic site for you. From there, how could I move the controllers and models in separate projects and still have everything just work? I can't seem to find anything on this anywhere else which has brought me here

View 13 Replies

MVC :: Adding Test Project?

Mar 15, 2011

When I first created the project. Visual studio 2010 gave me an option to create the test project, but I selected "No". Now i want to add teh Test project. Is theor any way, I can add the Test project later.

View 2 Replies

MVC :: Cann't Open The Test Project?

Feb 26, 2010

why i cann't open the asp.net mvc test project ?

View 4 Replies

Visual Studio :: MVC 2 RC 2 And Test Project?

Apr 8, 2010

I'm trying to create a MVC project inside of VS 2010 using Asp.Net MVC 2 RC2, using all the default settings and the default "Visual Studio Unit Test" framework and am getting 6 Namespace errors upon compile (without touching ANYTHING). Pretty standard setup. I removed the prior MVC versions before installing RC2 for VS2010 etc. These are the errors:

[Code]....

The namespace "AWWOAMVC" is empty (or so says Intellisense). Both of these reside in the same solution explorer, as it is brand new project.

View 5 Replies

MVC :: 2 Errors With Unit Test Project?

Jul 10, 2010

I just started my first MVC 2 project in VS 2010. I decided to start the debugger, just to see the default controllers in action, and have received several of the following kinds of errors for the test unit project:

Error 1 The type or namespace name 'Controllers' does not exist in the namespace 'MajorProductions' (are you missing an assembly reference?) c:userskevindocumentsvisual studio 2010ProjectsMajorProductionsMajorProductions.TestsControllersHomeControllerTest.cs
8 24 MajorProductions.Tests

From what I can see, however, MajorProductions.Controllers does exist, as it's created by default in my regular/non-test project.The unit test code in question is:

[Code]....

And the error is being triggered by the using MajorProductions.Controllers line. I have similar errors elsewhere in my unit test project, so I figure if I can fix this, I can fix the others.

View 2 Replies







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