C# - Configuring MVC ActionLink Format With GoDaddy Shared Hosting

Jun 9, 2010

I have a GoDaddy shared Windows hosting plan and I'm running into a small issue with multiple domains. Many people have previously reported such an issue, but I am not interested in trying to resolve that problem altogether; all I want to accomplish is to change the format of my ActionLinks.

Issue Let's say the domain that is mapped to my root hosting directory is [URL]. GoDaddy forces mapping of other domains to subdirectories of the root. For example, my second domain, [URL], is mapped to [URL]. I uploaded my ASP.NET MVC site to such a subdirectory, only to find that ActionLinks that are for navigation have the following format: [URL] In other words, even when I use the domain that is mapped to the subdirectory, the subdirectory is still used in the URL. However, I noticed that I can also access the same path by going to: [URL] (leaving out the subdirectory) What I want to achieve I want to have my ActionLinks automatically drop the subdirectory, as it is not required. Is this possible without changing the ActionLinks into plain-old URLs?

View 2 Replies

Similar Messages:

IIS Configuration :: Configuring Connection String In Shared Hosting

Mar 24, 2013

I have developed an e-comm web site in asp.net with sql server as a database. Now I want to upload that web site with DB to hosting server. This is my first web hosting and I don't know how to do it.

I've created the DB script to recreate the DB at the hosting server, but I don't know how to run it on server.

What changes need to be done in my connection string in web.config file for connecting the DB which will be on hosting server.

I also have ftp client "Filezilla" which i am able to use for uploading static html pages on server.

My connection string is:

<add name="DBCS" connectionString="data source=(local)SQLEXPRESS;database=LAAFOOD;Integrated Security=SSPI;" providerName="System.Data.SqlClient"/>

View 1 Replies

Configuration :: Deployment To Shared Hosting Godaddy Account

Dec 16, 2010

I have in the past used Godaddy shared hosting with .net 4.0 and had no problems viewing and logging into the administration pages of a asp.net 4.0 website, using the default ASPNETDB.MDF. I don't remember if there was any changes to the web.config file. I can view the site but can't log into the site throws a error which has no detail just the custom error message explaining to change the custom tags for a more detailed message and even then it don't work get same message.

View 2 Replies

SQL Reporting :: Report Viewer On A GoDaddy Shared Hosting Account

Oct 31, 2010

I contacted GoDaddy and they informed me that their Shared Hosting accounts only allow partial trust and Report viewer requires Full Trust and therefore I cannot use Report Viewer on my website. (nor do they know of any report tool that will work on their site) I just have a hard time believing that of all the accounts on Godaddy that NO ONE is running any kind reports, I can see some uses for databases with no reporting needed, but not as many as need reporting. Just a quick question, has anyone been succesful with a report tool that will work on GoDaddys shared hosting environment ?

View 1 Replies

Web Forms :: Configuring SMTP For Shared Host?

Jun 1, 2010

When I first published my site, I tested it using my gmail account and worked like a charm first try (a rare feat for me ;) ). Now, I'd like to finish it up by having it send the emails from the account at the host. No joy... I asked the host if I had misunderstood the rather unhelpful info in the control panel and they advised that in my web config I should change:


View 2 Replies

Configuration :: Set Up Multiple Websites In Godaddy's 4G Hosting?

Mar 23, 2011

I just upgraded to windows 4G hosting from old windows hosting on Godaddy. I have hosted multiple websites on this hosting account. The primary domain website [URL] is working fine after the upgrade but all other sites hosted in same account report some errors.

The structure is like this:

Root: inHouseRecipes.com

I have checked that the websites in subfolders are set up as an application in IIS 7. Also, the web.config of parent (root) website has the following


tag to stop other child web.config to inherit anything from parent.

I use asp.net to code my websites. Before 4G upgrade everything used to work like a charm.
Has anybody else also experiences the same issues? If yes, what are the changes that we need to make to support multiple web sites in same 4G hosting account?

View 5 Replies

DataSource Controls :: Using Profiles At Godaddy Hosting?

May 20, 2010

I have a big probelm that i want to use profiles at godaddy hosting , it didn't work good and make a message said :

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

View 1 Replies

Configuration :: Running Two Domains On One GoDaddy Hosting Account

Jul 15, 2010

I have an application in the root. I setup BlogEngine to run in a directory of the account. There is a web config in root and another one in the directory. If I have a Web.Config in the root, then I can run application but not the blog. However, if Idisable the root web.conf then the blog will work and, as expected, the application will not work. How can I get both to work without having to integrate the Blog and the Appication? I understand this is a common problem in GoDaddy's hosting account. Has anyone found a solution?

View 3 Replies

ManagedFusion Url Rewriting Not Working On Godaddy 4th Generation Hosting?

Feb 4, 2011

I recently switched from Godaddy shared hosting to Godaddy 4th generation hosting or grid hosting.

As per my other question UrlRewriter.NET with .NET 4.0 and Godaddy not working I was unable to get UrlRewriter.NET to work.

So now I have tried ManagedFusion. It works locally but does not work on the Godaddy servers BUT the errors are different and I sense that this might actually work and I have done something wrong in the configuration.

So my web.config settings are (condensed version)

<section name="managedFusion.rewriter" type="ManagedFusion.Rewriter.Configuration.ManagedFusionRewriterSectionGroup"/>


Now this works perfectly fine on my local machine (Visual Studio 2010) but when I upload it to Godaddy servers I get a 404 that says it can't find /Campaign/List.aspx.

And on top of this it also goes to SSL, which I don't want as the SSL cert on that account is for a different subdomain and hence throws an SSL error.

Is there something I am doing wrong? It seems this time the URL module is handling all requests and this looks like I have configured it incorrectly somehow.

Additional Information
Running IIS 7.0 - Integrated Pipeline
.NET 4.0 Godaddy
4th Generation Hosting

View 1 Replies

Web Forms :: Send An Email For Using CDOSYS Through GoDaddy Hosting?

Mar 12, 2010

Trying to send an email for using CDOSYS through GoDaddy Hosting. Below is teh only info that they give you to send email. How do I call this using my asp email form page?

View 4 Replies

Configuration :: Errors After Moving Website To Unlimited Hosting On Godaddy?

Jul 18, 2010

I recently upgraded one of my hosting accounts on Godaddy to unlimited in order to eliminate several redundant hosting accounts. I ftp'd a website and published the databases into the unlimited account ok but I'm getting server errors which seem to be caused by the fact that the primary website is somehow interfering with the website which was transfered into the hosting account. The latest error is


View 1 Replies

DataSource Controls :: Sqlserver 2005 Database Hacked At Godaddy Hosting?

Apr 26, 2010

I have a web applicaton run at godaddy hosting and have a sqlserver 2005 database hosting also by godaddy .From 1 week My web site hacked , by putting a strange script at all my .ASPx and the same strange script at all my database row.after that I remove the permission and make only permission of view filesand after that yesterday my web site hacked again by the strange script??? but my files didn't hacked .I scaned all my web sites files with updated antiviruse and with malware application but they didn't find any thing

View 5 Replies

Configuration :: To Deploy Dundas Charts In .aspx To Godaddy Hosting Account, But They Are Not Showing Up

Jan 20, 2010

I am trying to deploy Dundas charts in .aspx to my Godaddy hosting account, but they are not showing up. The Dundas support team said I need to do the following:

If you are not using BinaryStreaming, the ASPNET user must have enough rights to write temporary images on the server's Hard drive.If using Windows 2003, the IIS_WPG user requires Write and Modify permissions.

However, of course the Godaddy support team told me I need a dedicated server to do those things. We are on a tight budget and I have to work with what I have now.

View 4 Replies

Shared Hosting With Services?

Nov 23, 2010

I was curious if there is a shared hosting platform for asp.net web sites that would allow me to setup a service that would do something at predetermined intervals. Dedicated hosting is not an option due to budget constraints.

So far, it looks like my solution will have to be to set an object in the cache and use the expired callback.

Has any one used the above method? and how successful was it?

Is there a better option or method than this?

View 1 Replies

Database - Db4o On Shared Hosting With MVC

Feb 15, 2010

I'm wanting to use DB4o on an asp.net MVC project i'm working on but wondering if anyone has got this working on shared hosting plan, have contacted discountasp and asked them and they said go to the forum as they were not sure if they supported it or not or any configuration that would be needed. but the forum wont let my post on because its all filtered to only show comments they like the look of? anyone had any joy with this with another host and one that runs asp.net MVC as it should be run?

View 1 Replies

Convert Any Video To A Flv In A Shared Hosting Environment?

Jun 24, 2010

Is there anyway to convert any video that has been uploaded by the uplaod control to a flv fromat in a shared hosted enviroment or is there any dll etc to use ?.

View 8 Replies

Configuration :: Database Is Not Working In Shared Hosting?

Jul 13, 2010

i have just completed my website in asp.net using visual studio 2008 with sql server 2005 express edition.

my database is mdf file based..

i have uploaded my website in godaddy with the help of cute ftp..

but the problem is that my database is not working..

Is it ok to upload complete website along with database using cute ftp? or i have to create separate database for it and make connections...

i read somewhere that file based website doesnot required any connection, database is simply uploaded along with website..

View 2 Replies

AJAX :: Verify Enabled On Shared Hosting?

Feb 1, 2010

I was surprised at their NOT having AJAX / ASP.NET support as practically every other shared hosting provider does and it's not like it's all that new, right? So to conclusively confirm that it was a no-go, I put the standard "update timer" sample AJAX app into a sub "test" directory and it works as it should. (The middle section that has the AJAX UpdatePanel updates.) Also, since I did not also upload a BIN directory for the AJAX DLLs I am assuming that this would indicate that the necessary AJAX components *are* somewhere in the shared kernel.

View 6 Replies

Windows Service Work On Shared Hosting?

Feb 25, 2011

Can Windows Service work on shared hosting?

View 1 Replies

C# - Run A Daily Process In Shared Hosting Server?

Jan 2, 2011

I need to run a daily process at a given time. how to do it in ASP.NET/C#? web site is hosted in godaddy shared hosting server.

I've tried with timers but not working. I think this timers get reset with application pool recycling.

View 3 Replies

Use EF CodeFirst On Shared Hosting / Specifically Initializers?

Feb 25, 2011

I just bought 2 months of godaddy hosting. I've written an ASP.NET MVC3 application using EF CodeFirst. In the application I am using an initializer that will drop/create the database if the model has been changed. I get an error when I try to do this saying "Cannot drop the database 'cellularautomata', because it does not exist or you do not have permission."I assume this has to do with the fact that I am on shared hosting and do not have permissions to drop/create databases. Is there any way around this?

View 1 Replies

VS 2010 - Scheduled Tasks On Shared Hosting

Dec 1, 2011

Any way to scheduled tasks on a shared hosting? So like I can send email every two hours.

View 4 Replies

Use Session On A Shared Hosting Server With Load Balancing?

Oct 4, 2010

My website/application is in ASP.NET. I use the traditional Session object when people connect so they have their preference, etc. My problem is that sessions were lost very often. I discovered that my hosting company was using load balancing on their servers, so one request on my website can be on one server, and the other on another one.

I tried to store the session data in a SQL Server database, but I quickly discovered that I can't create the needed database on my shared server because I only have one database in my package. Also, there is no guarantee that the rest of the script would have been able to run.

My questions: is there any other way to get around this problem? Should I buy another database only for this? Is there another type of session that I could use? Is there anything else I can use instead of session to keep track of my user when they are connected on my website?

View 4 Replies

Url Rewriting - Urlrewriter Work On Web Server But Not On IIS 6 Shared Hosting?

Apr 25, 2010

anyone know how to "make work" urlrewriter.net component on IIS 6 ?
Actually i have this web.config section :

<section name="rewriter" requirePermission="false" type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intelligencia.UrlRewriter" />
And the rule is, for example:
<rewrite url="~/tag/(.+)" to="~/default.aspx?tag=$1" />

It's work on the ASP.NET Developmnet server, but not when i go to my shared hosting web site !!! :(

View 1 Replies

WCF / ASMX :: How To Make Web Service Work In A Shared Hosting

Feb 26, 2011

I am trying to put a basic Hello World Web Service in my Go Daddy Shared hosting.

It is a basic default Hello World Web Service that Visual Studio 2010 automatically generates: it works in my local web machine: i can invoke and can see the xml.

I have transferred the Service1.asmx and the Service1.cs file( in the App_Code folder ). I can view the web service page, but I cannot invoke the web service method, and as a result I cannot see the xml file where the "Hello World" string will be in side the <string> element.

Though I can see the web service page, there is no invoke button. How will I invoke or render the content in an aspx page? As the web page has to change the name space, I have changed the namespace to my website address, but still I cannot see or do an invocation and as a result cannot see the generated xml. My question is

1) what should I do so that I can see the return xml value from the web service?

2) what should I do so that I can render the data of the web service in a web page ( for example, in mywebservicepage.aspx)?


View 2 Replies

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