I've installed umbraco with a shared hosting company. When I try and get to the umbraco backend and enter my admin userid and password I get the red shaking border around the login inputs. I'm accessing the site from a temporary url, it is a demo client site and I do not have a domain name to access the site. So the url looks like this:
I've read where someone else had this issue and once they pointed the domain name to the site it worked. How can I resolve this as I'm not going to update DNS to point to the actual domain name until I can test the site?
You still having an issue with this? If so is it the only umbraco site running on that web server? Have you assigned a hostname to the site in the umbraco back end?
It doesn't really sound like an issue with your DNS to me but an issue with the credentials of the username and password but I could be wrong.
Still having the issue, this is on a shared hosted environment. I haven't assigned a hostname as I do not want the client's domain to point to this account until everything has been testing. I've done the same on windows azure website and didn't have any issues. I'm guessing it has to be related to the hosting company.
Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set to an instance of an object.
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.
Object reference not set to an instance of an object. at umbraco.cms.businesslogic.web.Domain.<GetDomains>b__0() at umbraco.cms.businesslogic.cache.Cache.GetCacheItem[TT](String cacheKey, Object syncLock, CacheItemPriority priority, CacheItemRemovedCallback refreshAction, CacheDependency cacheDependency, TimeSpan timeout, GetCacheItemDelegate`1 getCacheItem) at umbraco.cms.businesslogic.web.Domain.GetDomains() at umbraco.cms.businesslogic.web.Domain.GetDomain(String DomainName) at umbraco.requestHandler.CreateXPathQuery(String url, Boolean checkDomain) at umbraco.requestHandler..ctor(XmlDocument umbracoContent, String url) at umbraco.UmbracoDefault.Page_PreInit(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Web.UI.Page.OnPreInit(EventArgs e) at System.Web.UI.Page.PerformPreInit() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
I was able to resolve this issue, nothing to do with host headers or anything. It came down to the hosting compay's database server was acting up so I changed the connection string in the web.config to an IP of the server and everything worked. I would have expected a different YSOD error message like unable to connect to sql as I wasn't even thinking about the database connection, but that is what it was.
Unable to login to umbraco backend when installing to shared host and accessing from temporary url
I've installed umbraco with a shared hosting company. When I try and get to the umbraco backend and enter my admin userid and password I get the red shaking border around the login inputs. I'm accessing the site from a temporary url, it is a demo client site and I do not have a domain name to access the site. So the url looks like this:
http://XXXXXX.webmatrix2.XXX.com
I've read where someone else had this issue and once they pointed the domain name to the site it worked. How can I resolve this as I'm not going to update DNS to point to the actual domain name until I can test the site?
Jason,
You still having an issue with this? If so is it the only umbraco site running on that web server? Have you assigned a hostname to the site in the umbraco back end?
It doesn't really sound like an issue with your DNS to me but an issue with the credentials of the username and password but I could be wrong.
Mark.
Still having the issue, this is on a shared hosted environment. I haven't assigned a hostname as I do not want the client's domain to point to this account until everything has been testing. I've done the same on windows azure website and didn't have any issues. I'm guessing it has to be related to the hosting company.
Thanks,
Jason
Error I'm seeing and trace output:
Server Error in '/' Application.
Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set to an instance of an object.
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:
Trace Information
Object reference not set to an instance of an object.
at umbraco.cms.businesslogic.web.Domain.<GetDomains>b__0()
at umbraco.cms.businesslogic.cache.Cache.GetCacheItem[TT](String cacheKey, Object syncLock, CacheItemPriority priority, CacheItemRemovedCallback refreshAction, CacheDependency cacheDependency, TimeSpan timeout, GetCacheItemDelegate`1 getCacheItem)
at umbraco.cms.businesslogic.web.Domain.GetDomains()
at umbraco.cms.businesslogic.web.Domain.GetDomain(String DomainName)
at umbraco.requestHandler.CreateXPathQuery(String url, Boolean checkDomain)
at umbraco.requestHandler..ctor(XmlDocument umbracoContent, String url)
at umbraco.UmbracoDefault.Page_PreInit(Object sender, EventArgs e)
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Web.UI.Page.OnPreInit(EventArgs e)
at System.Web.UI.Page.PerformPreInit()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Jason,
So what happens if you assign a domain and then put an entry in your local hosts file so that only you see the site while deveoping?
Mark..
Hi Mark,
I was able to resolve this issue, nothing to do with host headers or anything. It came down to the hosting compay's database server was acting up so I changed the connection string in the web.config to an IP of the server and everything worked. I would have expected a different YSOD error message like unable to connect to sql as I wasn't even thinking about the database connection, but that is what it was.
Thanks for looking keeping an eye on the issue.
Jason
Jason,
It did seem a bit of an odd issue. Glad you got it sorted anyway.
Mark.
Compiling into the bin folder had replaced MySql.Data.dll with another version - hence Umbraco could not connect to the database
Solved mine - what a frustration close to D day
is working on a reply...