Quantcast
Channel: Configuration and Deployment
Viewing all 3561 articles
Browse latest View live

publish to sbs server 2011

$
0
0

I'm a newbe and am just now trying to publish to my sbs server.  I receive "ERROR SITE DOES NOT EXIST"

I am trying to follow instructions on How to: Deploy a Web Project Using One-Click Publish in Visual Studio

I have chosen Publish method: Web Deploy.   My SBS Server 2011 is Ranch-SBS andhttp://ranch-sbs is what I enter into Service-URL

Site/Application is \inetpub\wwroot\ranch inventory.   I have created a ranch inventory folder and this still didn't work.  I think this is where I am missing something because the detail says site 'inetpub' does not exist.   I have changed the slashes to back slashes and changed "ranch inventory to iisstart.htm

My user name and password have admistrative rights

Destination URL is not clear to me.   I have tried the Http://ranch-sbs/inetpub/wwwroot  and just the http://ranches.org   

I would appreciate any help

 

 

 


Rendering Issue for third party control in IIS 7 (windows server 2008 )

$
0
0

We have migrated our web Application from windows server 2000 (IIS 6) to windows server 2008 (IIS 7). we were using Pin Edit third party controls in the application.

These controls will be rendered as iframe with src, when it was rendering in old server windows server 2000 (IIS 6) the src property was rendering https:\..... when we are using SSL calls, But in new server windows server 2008 (IIS 7) the source property in rendering with always "http:\....", we would like to have this as "https:\...".

We are assuming IIS setting need to be modified in order to achieve it. Please advice, thanks in advance.


 
Regards,
Hari.

Server Error in '/' Application after uploading to godaddy server.works well on local system

$
0
0

Server Error in '/' Application.


Configuration Error

             Description:An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.            Parser Error Message: Could not load file or assembly 'MySql.Data, Version=6.6.1.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.Source Error:

Line 47:         <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
Line 48:         <add assembly="System.Data.Services, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />Line 49: <add assembly="MySql.Data, Version=6.6.1.0, Culture=neutral, PublicKeyToken=C5687FC88969C44D" /> Line 50:       </assemblies>
Line 51:     </compilation>
                  

Source File:D:\Hosting\5761095\html\web.config   Line: 49             Assembly Load Trace:The following information can be helpful to determine why the assembly 'MySql.Data, Version=6.6.1.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' could not be loaded.

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
                  

Version Information: Microsoft .NET Framework Version:2.0.50727.4234; ASP.NET Version:2.0.50727.4223            

 

 

I am using mysql 5.5.28 and conector 6.6.1.0.working well in my system and throwing error once i publish. i m nt seeing any dlls in my bin folder.if i paste a dll from the C:\Windows\Microsoft.NET\assembly\GAC_MSIL\MySql.Data\v4.0_6.6.1.0__c5687fc88969c44d folder it throws another error

 

 

anyone kindly help..Thank you

Collection is readonly exception on IIS7.5

$
0
0

Hi,

I am running Dotnetnuke7 on a shared hosting environment using ASP.net 4.5 and IIS configured in integrated pipeline mode (as required by DNN7).

When I install it on a Win2008/IIS7 server the application runs fine, but when I install it on a Win2008R2/IIS7.5 server I get an exception Collection is read-only when trying to log-in or submitting anything to the site. (For example use DNN search function). See detailed stacktrace below.

The hosting provider checked the .net 4.5 permissions, and also applies apppool-specific permissions, but no luck yet.

Anybody a clue what IIS7.5 parameter or option can be the cause here?

Thanks, Jan

Server Error in '/' Application.


Collection is read-only.

Description:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NotSupportedException: Collection is read-only.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace:

[NotSupportedException: Collection is read-only.]
   System.Collections.Specialized.NameObjectCollectionBase.BaseSet(String name, Object value) +6703734
   System.Web.HttpServerVarsCollection.SetServerVariableManagedOnly(String name, String value) +116
   System.Web.HttpServerVarsCollection.SynchronizeServerVariable(String name, String value) +28
   System.Web.HttpRequest.SynchronizeServerVariable(String name, String value) +112
   System.Web.Hosting.IIS7WorkerRequest.GetServerVarChanges(HttpContext ctx) +308
   System.Web.Hosting.IIS7WorkerRequest.SynchronizeVariables(HttpContext context) +9676858
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +151

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.17929

ConnectionString Retrieval in file other than Web.config

$
0
0

I have an EnvironmentsConfig folder in it I have a file connectionstrings.config

It has a connection string that I need to retrieve. I understand how to do this using the web.config but I can't seem to find the correct C# code for pulling it from this new folder and file.

 

Here is the xml in the connectionstring.config file

<xml version="1.0"?><connectionStrings><add name="DBConnection" connectionString="Data Source=xxx,111;Initial Catalog=somedb;User ID=someuser;Password=somepassword;" /></connectionStrings>

Normally I would use the following code to get the connection string

ConfigurationManager.ConnectionStrings["YourConnName"].ConnectionString;


 

can someone please show me the correct syntax?

publish a release version of web site

$
0
0

Hi,

I have a web site that is created in visual studio 2010 through: File > New > Web site (it is not a Web Project).

I want to publish a release version of my web site but there is no 'Release' mode in VS and there is no possibility to add 'Release' mode through Build > Configuration manager.

How can I publish a release version of my web site ??(I can not convert my web site to a Web Project)

Thank you very mush for your reply.

to deploy the asp.net project in remote harddisk and to run on two networked computer

$
0
0

Hi,

Two computers are  connected with a remote hard disk.  How can  publish  the asp.net project   which make to   run the published file  on both computers  from that remote hard disk . Exe file from c# program can run from hard disk. But I dont know how to make it through asp.net

Please advice

With Thanks

Pol

error: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.

$
0
0

i want to deploy my asp.net with sql server 2008 website on free web hosting somee.com

for which i deploy  my application on iis, on localhost its working fine with database.

on ftp i upload all the pages, and restore my db back.

when i open the url:

http://www.complaintsystem.somee.com/complaintsystem/

my first page appear , but when i enter the user name and password , it shows the following error:

Server Error in '/ComplaintSystem' Application.
Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

please tell me where i m wrong


microsoft web publish no files in directory

$
0
0

When attempting to publish my web apps to a local server (via FileSystem), Visual Studio tells me that the publish was successful, however no files are actually copied to the destination. I always use the 'Delete All Files prior...' so now none of my web apps are to be found.

the out put is as fallows

------ Build started: Project: E:\...\*****\, Configuration: Debug .NET ------
Pre-compiling Web Site

Building directory '/*****/App_Code/'.
Building directory '/*****/*****/'.
Building directory '/*****/*****/'.
Building directory '/*****/*****/'.
Building directory '/*****/*****/'.
Building directory '/*****/*****/'.
Building directory '/*****/*****/'.
Building directory '/*****/*****/'.
Building directory '/*****/*****/'.
Building directory '/******/'.
Pre-compilation Complete
------ Publish started: Project: E:\...\*****\, Configuration: Debug .NET ------
Connecting to site C:\web...
Publishing directory /...
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========
========== Publish: 1 succeeded, 0 failed, 0 skipped ==========

what is the issue here , I am using mysql data base and this is website project 

Update a published website

$
0
0

Hi,

I published my website on my host at the remote server. Now, I did some changes on one of its pages and I want to upgrade the corresponding section in the published website on remote server. How can I do this?

Authenticate HTM Pages

$
0
0

Hi everybody,

My requirement is to an authenticate static HTML Page before they are viewed. To do so,

(a) I have written an HTTP Module. I check that if the request is for the HTML Page and the Session is not set, then redirect to the Login ASPX Page. Else, serve the HTML Page. I have also registered this module in Web.Config

(b) Next, I have written a Login ASPX Page that validates the user. If the user enter the correct username/password, I set the Session with User Id and redirect them to the HTML Page.

All of the above works well in the development environment, but once I deploy them to IIS, nothing works. I think that I am

P.S. : I use IIS 7.5. I need to deploy the app on two environments. One using Classic Mode and the other using Integrated Mode. In HTTP Module, I have written code in the AcquireRequestState event.

Please help.

Thanks,

Kunal

I can't get staticContent mimeMap to work

$
0
0

The docs say you can add the following to my web.config file, but httpsniff shows that my mp4 file is still being returned as application/octet-stream.  Anyone know why the StaticFilehandler is not honoring my mimeMap confication?

<configuration><system.webServer><staticContent><mimeMap fileExtension=".mp4" mimeType="video/mp4"/></staticContent><handlers accessPolicy="Read, Write, Script, Execute"><add name="mp4" path="*.mp4" verb="*" type="System.Web.StaticFileHandler" resourceType="Unspecified" preCondition="integratedMode" /></handlers></system.webServer></configuration>

 

ASP.NET Website not Displaying on Web Server

$
0
0

Hi guys,

I appologise if this is a very basic question.

I am using Visual Studio Web Developer 2010 Express.

I've created an ASP.NET Webforms website and have copied it to my Hosting Provider's server via FTP.

On entering my home page address, I'd expected to see my website, in all its shining glory.

However, nothing is there.

The files have copied across correctly and I can see them on the server.

I believed from my ASP.NET book that this was all that was needed to publish a site and ASP.NET wizadry did the rest.

However, this seems not to be the case.

I can't copy the files to the root directory and, at the Hosting Provider's advice, they are in a directory named '/httpdocs' instead.

Could anyone put me on the right track of where to start?

Thanks very much indeed,

Dan.

Datagrid border issue after deployment

$
0
0

Hi,

My project is in .net framework 2.0. I have notice changes when aplications (vb.net) deployed to live compared to test system. I am using DataGrid.

In my local and test systems its fine. But after deployment (i just copied the exact content from test system) the border color, font color for the datagrid is changed. even the columns of the datagrid are not wrapping.

I am viewing the in firefox. Have not used any CSS. Just giving the border color in datagrid inline 

<asp:DataGrid
ID="dggrid" DataKeyField="ID"
HeaderStyle-CssClass="datagrid"
AutoGenerateColumns="False"
CellPadding="6" BorderColor="#CC9966"
BorderWidth="2" Visible="False" Runat="server">

I would like to mention one thing here.

Previously in IIS (live server) the app was point to framework 1.1. Since we have change it to 2.0, I pointed framework version in IIS to 2.x which is same as dev and test system.

Any idea what might be wrong?

Thanks in advance

Deployment Error

$
0
0

I am attempting to deploy  my web application in VS2010. I get through the Package/Publish Web with no issues. I deployed the package with IIS Manager. My issue is that when I view my deployed web application I can see my images and paragraphs but my controls (labels, textboxes, dropdowns) are not displaying.

Any ideas of what I am doing wrong.


The underlying connection was closed: The remote name could not be resolved.

$
0
0

Hello everyone,

I have a web application and a web service developed in VS2003 & .NET 1.1, and both are hosted in a Windows Server 2003 SE with IIS6.

The application and web service were working fine for years.

For some reason this week we had a ridiculous error appearing in IIS (when trying to start the IIS Admin Service) stating "The IIS Admin Service service terminated with service-specific error 2148073478 (0x80090006)."  After some research on the internet, they suggested to reinstall IIS and re-register .NET.

So I did what was recommended in several web sites: re-installed IIS and re-registered .NET.

Now I can get to the Default.aspx page of the web application just fine, which is a login page.  When I try to login the application replies with  "The underlying connection was closed: The remote name could not be resolved.".

I have researched this error and basically all of them point to the same cause (mainly to this article: http://support.microsoft.com/kb/318140 ), allegedly being a proxy server that needs to be configured at code level or in web.config/machine.config. I really don't believe this to be the cause of the issue because (1) we don't have a proxy server in use here, (2) the application has worked for years and no settings were changed in the machine.config nor web.config during that time, and (3) no other changes were done to the application code (no recompiles, etc). The application is intact. Only thing that was done is re-install IIS and .NET.

Besides the cause already described in the article referenced above (and many other web sites), what other causes this may have? What should I look into? What should I check?

Thanks in advance,

CR

Problem with custom error pages

$
0
0

Hi,

I'm having a problem with our custom error pages.

The custom error page for our site is displayed fine in most cases, however when a user attempts to access a file without an extension such aswww.mysite.com/apage. (with the dot) the custom error page is not loaded, the user is presented with the following -

Server Error in '/' Application.


Runtime Error

             Description: An exception occurred while processing your request. Additionally, another exception occurred while executing the custom error page for the first exception. The request has been terminated.            

 

 When viewed on the server (without the custom error page) the following is shown -

 

Server Error in '/' Application.


The resource cannot be found.

Description:HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.           
Requested URL: /apage.


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.17929

 

My web.config is set as follows -

    <customErrorsmode="RemoteOnly"defaultRedirect="~/error2.aspx">

    </customErrors>

error2.aspx is a new custom error page that I created, it is a blank web form so I'm really unsure as to what could be causing an error from within it. 

If anyone has any advice I'd be most grateful...

Kind regards

Phil

How to deploy wsp webparts in sharepoint2010

$
0
0

Hi all,      

I created usercontrols in VS2010 & i installed wsp builder2.0 in my system. how to add usercontrols in wsp builder. i need to use this usercontrol webparts in sharepoint 2010(How to deploy). can anybody give me some solution or links.

Thanks, 

The 'System.Web.Security.SqlMembershipProvider' requires a database schema compatible with schema version '1'. However, the current database schema is not compatible with this version. You may need to either install a compatible sche

$
0
0

Hello

i am using .net 4.0 and sqlserver 2008. i hosted my project to online shared server. but error is coming like

The 'System.Web.Security.SqlMembershipProvider' requires a database schema compatible with schema version '1'. However, the current database schema is not compatible with this version. You may need to either install a compatible schema with aspnet_regsql.exe (available in the framework installation directory), or upgrade the provider to a newer version.

kindly tell me how to solve this problem. below i mentioned web.config file details.

<authentication mode="Windows">
<forms defaultUrl="dashboard/dashboard.aspx" path="/" loginUrl="Default.aspx" protection="All" name="aspxauth" timeout="200">
</forms>
</authentication>
<membership defaultProvider="AspNetCSqlMembershipProvider">
<providers>
<add name="AspNetCSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="EVISEAZY" enablePasswordRetrieval="true" enablePasswordReset="true" requiresQuestionAndAnswer="false" applicationName="/" requiresUniqueEmail="false" minRequiredPasswordLength="5" minRequiredNonalphanumericCharacters="0" passwordFormat="Clear" maxInvalidPasswordAttempts="10" passwordAttemptWindow="3" passwordStrengthRegularExpression=""/>
</providers>
</membership>
<roleManager enabled="true" defaultProvider="SqlRoleManager">
<providers>
<add name="SqlRoleManager" type="System.Web.Security.SqlRoleProvider" connectionStringName="EVISEAZY" applicationName="/"/>
</providers>
</roleManager>

Need help in implementing 3 Tier Architecture.

$
0
0

I am intended to implement 3-Tire architecture in the new application.

3 tier

 

 For that I have added a new project “Lamda.Data” (Class library) in the main solution and referring this project (dll) in the presentation layer.

While executing the application getting the below error message,

Can anyone please suggest me how to solve this, when I place it in the server.

It is working fine in my local Visual studio.

Thanks in advance 

 

Viewing all 3561 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>