CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting
ASP.NET MVC Ready – 3 Months Free and Free Setup



Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.personal_site_starter_kit Tags:
Item Type: NewsGroup Date Entered: 12/29/2006 4:11:37 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 2 Views: 28 Favorited: 0 Favorite
3 Items, 1 Pages 1 |< << Go >> >|
binLaden
Asp.Net User
Personal Web site works ok locally, but uploaded to my Web Host Provider fails12/29/2006 4:11:37 AM

0

This is very basic, I know. It has to be, as I'm a beginner completely. Anyway...

The personal web site works fine on my local computer. I did nothing at all to it. It is built completely by the wizard, and looks good:)

I then copied it up to my web host provider. My account is "Windows 2003 Server .NET 2.0 package, from IPowerWeb". It copied without any errors.

I connect my browser to it, and receive an error:

--------------------------------------------------------------------- 

Server Error in '/' Application.  

An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

 Source Error:

Line 6:  	{
Line 7: SiteMap.SiteMapResolve += new SiteMapResolveEventHandler(AppendQueryString);
Line 8: if (!Roles.RoleExists("Administrators")) Roles.CreateRole("Administrators");
Line 9: if (!Roles.RoleExists("Friends")) Roles.CreateRole("Friends");
Line 10: }

Source File: c:\Accounts\navisanc\wwwroot\Global.asax    Line: 8

Stack Trace:

[SqlException (0x80131904): An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)]
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +735091

 

Here is my web config, expertly written by Visual Studio 2005:

<?xml version="1.0" encoding="utf-8"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
    <connectionStrings>
        <add name="Personal" connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Personal.mdf" providerName="System.Data.SqlClient" />
        <remove name="LocalSqlServer"/>
        <add name="LocalSqlServer" connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|aspnetdb.mdf" />
    </connectionStrings>
    <system.web>
        <pages styleSheetTheme="Black"/>
        <customErrors mode="Off"/>
        <compilation debug="true"/>
        <authentication mode="Forms">
            <forms loginUrl="Default.aspx" protection="Validation" timeout="300" />
        </authentication>
        <authorization>
            <allow users="*"/>
        </authorization>
        <globalization requestEncoding="utf-8" responseEncoding="utf-8"/>
        <roleManager enabled="true"/>
        <siteMap defaultProvider="XmlSiteMapProvider" enabled="true">
            <providers>
                <add name="XmlSiteMapProvider"
            description="SiteMap provider which reads in .sitemap XML files."
            type="System.Web.XmlSiteMapProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
            siteMapFile="web.sitemap"
            securityTrimmingEnabled="true"/>
            </providers>
        </siteMap>
    </system.web>
    <location path="Admin">
        <system.web>
            <authorization>
                <allow roles="Administrators"/>
                <deny users="*"/>
            </authorization>
        </system.web>
    </location>
</configuration>

 

Thanks if you can tell me how an unmodified, functional personal web site sample is to be deployed as apparently its not as easy as copying it to the server.


 

Timmy007
Asp.Net User
Re: Personal Web site works ok locally, but uploaded to my Web Host Provider fails12/30/2006 8:59:14 PM

0

Osama,

Your connection string points to your local database and not your remote database on your server.  You should have received a DB name, username and password for your remote DB via your hosting company.  What I do is maintain two web.configs, one for local and one for remote.  Obviously you will keep the local one for testing your solution.  When ever you upload files to the remote server you need to make sure you don't stomp on the remote web.config.

This should get you going...


Timmy, nothing witty, just Timmy
binLaden
Asp.Net User
Re: Personal Web site works ok locally, but uploaded to my Web Host Provider fails1/3/2007 8:40:07 PM

0

sometimes Im simply an idiot!!!

must be shell shock : )

3 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
Personal Web site works ok locally, but uploaded to my Web Host ... Personal Web site works ok locally, but uploaded to my Web Host Provider fails. Last post 01-03-2007 3:40 PM by binLaden. 2 replies. Sort Posts: ...
How to Get Your Starter Kit Launched on a Web Host | ASP Starter ... When you move the site to your web host this database will not work for you. ... from the database on your personal computer and replicate it to your Web hosts SQL .... I have upload the aspnetdb.bak on my Web space. All is ok. ! :). On my Local ... Exactly how to do that depends on your web host but their customer ...
PmWiki | PmWiki / WebHosts Jul 2, 2008 ... Other free webhosts - failed too I'll add the other failed webhosts I tried later. ... Upload pmwiki files, rename pmwiki.php to index.php5 and it works. noe ... lunarpages.com (US Hosting Provider). Works great without problems ... I 've been using this web host for over a month to host my PmWiki ...
Best Free Web Hosting Reviews Maybe you should consider switching to a cheap web hosting provider so you don't ... from your web site you should educate yourself on the local and federal laws ... Test the new site. Many web hosting companies are willing to work with you .... But alas, in my search I found some companies that have areas on their ...
MS SQL Server :: Access Denied To ReportServer And Reports, Works ... Mar 24, 2008 ... DB Access Works In Debug But Fails When Hosted ..... Problems Publishing My Personal Website - Works Fine Locally! ... I'm guessing I need to somehow upload the SQL database onto my web host (I've purchased 100M of SQL Server ..... Provider is unable to function until these components are installed. ...
Gallery2:FAQ - Gallery Codex Jan 13, 2009 ... 1.10 My upgrade failed, and now when I try to get into my site, .... 4.45 " Sucessfully" uploaded images show a thumbnail, but display a black page when ..... The webhost has to do this only once, I'm sure they will do it. ..... "www " problem: If Gallery2 works OK when you navigate to (YourDomain. ...
Installing DotNetNuke 4.5.5 Locally Web.Hosting.HostingEnvironmentException: Failed to access IIS metabase. ... I try to see my site from the web but I get a 403 permissions error any suggestions? ... when I try to upload the file I just get page not availiable screen. ... I had version 4.5.1. it work fine. Now i want to install 4.5.5 i made what say ...
TWikiOnWebHostingSites < Codev < TWiki Web hosting companies don't do this, each account with local cgi is .... Dreamhost is an excellent hosting provider, not least for their good ... running for my http://www.clausbrod.de website. Most things work OK now. .... I struggled for a while to set up TWiki on free.prohosting.com, failed, but do not know why. ...
Wen Hosting FrontPage And this doesn't work, because NO hosting company knows the software, and only knows the ... The default page still shows up even after I have uploaded my index page. .... Before you can publish an html file to your web site with FrontPage, ... I have done it, but it fails more times than it is successful. ...
DreamHost and Web Hosting Issues | Alanated Apr 7, 2008 ... That was my intention when I googled for such web host providers. ... also consider between a local or foreign web host company. Ok, ok! ... In all, it took about 3 days for DreamHost to work normally and totally for me. ... foreign web host companies, Vooju had never, I mean NEVER, failed me and I ...

Videos:
National Day of Listening - Do-It-Yourself companion video StoryCorps encourages Americans to set aside time on November 28th, 2008, to record a conversation with an older relative or another family member ...
(888)MOAX.ORG Microsoft Offfice Accounting Xchange ... (888)MOAX.ORG Microsoft Offfice Accounting Xchange 4_IT_JOURNAL.wmv - 31 min - Apr 23, 2008 USStudios - http://www.onafree.com (1 Rating ...
Philip Pocock 100 Days 100 Guests event (Day 63) Documenta X 1997 Philip Pocock speaking at Documenta X about hypercinema and the collabortative work produced in Uganda by Documenta X - A Description of the ...












image thumbnails.

anybody using sqlite database with this kit ?

sorting of albums

does anyone know how to solve this problem? failed to generate a user instance of sql server due to a failure in starting the process for the user instance. the connection will be closed.

how do i change the text at the top of the pwsk?

layout in firefox

how can i copy the mdf file ? (windows won't give me permission)

dropdown menu - how to change theme?

how to change the background color

can't get my site live on dasp - jeremy wadsworth starter kit

browser compatibility?

rss reader advise

how do you install a new starter kit?

admin account for pws

access provider

incorrect syntax near 'begin'

default.aspx doesn't work, but all other pages does?!

jeremy's pssk question

play a movie clip of user's choice

extending personal website starter kit remote content modifier issues resolution

can the starter kit be used with vs 2003

personal web site starter kit - db credentials

different versions of personal site?

login

customize album folder with sub-folders

change photos in starter kit to displaly movie clips

insertparameters element ?

database setup

make new user default to isapproved = true

problems with database security settings

   
  Privacy | Contact Us
All Times Are GMT