Godaddy server sub domain problem

Posted by Gopal_nivas under ASP.NET on 5/6/2011 | Points: 10 | Views : 2676 | Status : [Member] | Replies : 4
hi..


I have two websites and my one website is running on godaddy hosting. Now i want to put the second website in the subfolder of root website and make it as a subdomain.


for example

Root Url:Sample.com - working (here i have used nopcommerce project)
subdomainurl:sampletest.sample.com - not working


note:
The above instructions are given by godaddy support staff via mail. but it does not work. i.e)to call the sub domain url(sampletest.sample.com) it doesnt work but sample.com is working fine.
------------------------------------------------------------------
now my problem is when i call my sub domain url it doesnot go to that project. instead it takes my nop root web.config file and show the error like this.
-------------------------------------------------------------------
Server Error in '/sampltest' Application.
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0246: The type or namespace name 'NopSolutions' could not be found (are you missing a using directive or an assembly reference?)

Line 93: <add namespace="NopSolutions.NopCommerce.BusinessLogic.Products.Specs"/>
Line 94: <add namespace="NopSolutions.NopCommerce.BusinessLogic.Products"/>
Line 95: <add namespace="NopSolutions.NopCommerce.BusinessLogic.Profile"/>
Line 96: <add namespace="NopSolutions.NopCommerce.BusinessLogic.Promo.Affiliates"/>
Line 97: <add namespace="NopSolutions.NopCommerce.BusinessLogic.Promo.Campaigns"/>

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

how to handle this issue.
is it any body who handled this type of issue in godaddy server?
need ur suggestions..

regards
gopal.s




Responses

Posted by: Prabhakar on: 5/6/2011 [Member] [MVP] Starter | Points: 25

Up
0
Down
Hi Gopal


i think Ur server not found it NopSolutions.dll . .

Best Regard's
Prabhakar

Gopal_nivas, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Gopal_nivas on: 5/6/2011 [Member] Starter | Points: 25

Up
0
Down
hi prabhakar..
thanks for ur reply..
application1(nopcommerce):in root-working fine
application2:in root folder called"sampletest"- its a another application
if i call my application2 url it takes the app.1 web.config(residing in root) and throw me the server error.

need ur suggetsions..
regards
gopal.s

Gopal_nivas, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Prabhakar on: 5/6/2011 [Member] [MVP] Starter | Points: 25

Up
0
Down
Hi Gopal_nivas
my name is prabhakar . . not prabha . .

and .. u have two webconfig in ur website . . . or on web config . .

if u have two web config to remove ur Sub domain Web config file . . then Rebuild up ur website . .


Best Regard's
Prabhakar

Gopal_nivas, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Gopal_nivas on: 5/6/2011 [Member] Starter | Points: 25

Up
0
Down
hi prabhakar..

i cant remove the sub domain web.config file .
because root config file is different connection string values and sub domain config file also different values.

i.e) two different application with tow different databases.

application1(nopcommerce):in root-working fine
application2:in root folder called"sampletest"- its a another application

need ur suggestions
regards
gopal.s

Gopal_nivas, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response