ddscart
  •  ddscart
  • 88.4% (Honored)
  • YAF Lover Topic Starter
2010-08-15T02:12:01Z
I tried to move my forum (www.ddscart.org/ddscartforum/default.aspx) from the subdirectory, as installed by GoDaddy, to my root directory.
I looked through the files and found addresses that needed to be changed in "web.config" and "default.aspx. I had to remove "ddscartforum" from the address. I also backed up and then deleted the ddscartfourm subdirectory to stop multiple forum problems.
When I loaded www.ddscart.org , I recieved a "Server Error in Application" error.

"The directory '/App_Code/' is not allowed because the application is precompiled".

The stack trace can be seen if you goto www.ddscart.org .

I would like to have my forum come up when someone goes to www.ddscart.org  instead of www.ddscart.org/ddscartforum/.  Can I move the forum to my root directory?
My forum uses version 1.9.1.8 (NET v2.0). Don't get long winded if the app will need to be re-compiled, just say so and I will move on! I cannot do the compiling if needed.

Thanks ddscart

www.ddscart.orgUserPostedImageddscart@ddscart.org
Disabled Dachshund Society of Georgia
Sponsor
ddscart
  •  ddscart
  • 88.4% (Honored)
  • YAF Lover Topic Starter
2010-08-15T15:34:41Z
I went to the server and changed the App_Code directory to something else. In effect, deleting the directory. All works well now!

That makes me wonder what the App_Code directory is for, will not having it mess something up?

I also see I can have more than one forum as long as each is in a differant directory!


Thanks ddscart
www.ddscart.orgUserPostedImageddscart@ddscart.org
Disabled Dachshund Society of Georgia
herman_herman
2010-08-15T15:53:16Z
Hi
You can store source code in the App_Code folder, and it will be automatically compiled at run time. The resulting assembly is accessible to any other code in the Web application. The App_Code folder therefore works much like the Bin folder, except that you can store source code in it instead of compiled code.So if you have compiled DLLs in Bin then it is OK.

And why not just a simple redirect page?
ddscart
  •  ddscart
  • 88.4% (Honored)
  • YAF Lover Topic Starter
2010-08-15T16:07:14Z
ddscart wrote:


I also see I can have more than one forum as long as each is in a differant directory!




Not true!! Any change made in one forum will change the other forum as well!
www.ddscart.orgUserPostedImageddscart@ddscart.org
Disabled Dachshund Society of Georgia
ddscart
  •  ddscart
  • 88.4% (Honored)
  • YAF Lover Topic Starter
2010-08-15T16:20:56Z
herman_herman wrote:

Hi
You can store source code in the App_Code folder, and it will be automatically compiled at run time. The resulting assembly is accessible to any other code in the Web application. The App_Code folder therefore works much like the Bin folder, except that you can store source code in it instead of compiled code.So if you have compiled DLLs in Bin then it is OK.

And why not just a simple redirect page?




My main page had a redirect to the forum sub-directory. That plays games for SEO.

I stoped the re-direct so the page could be indexed fully. This however, does not index the forum directory. the forum is what I want indexed! With the forum on the main directory, the search bots will do what I want.

If you Goggle "disabled dachshund" I am #3 on the first page. Not at all bad, but I want #1 on first page! the forum is linked on the main page, but does not add anything to the indexing. With a re-direct, I fall back 2 or 3 pages.


www.ddscart.orgUserPostedImageddscart@ddscart.org
Disabled Dachshund Society of Georgia
ddscart
  •  ddscart
  • 88.4% (Honored)
  • YAF Lover Topic Starter
2010-08-15T16:36:11Z
I also see that moving the directory lost all the smilies graphics. Maybe a directory change is needed there too!

The image directory failed to copy to the new directory as a image directory was already there. I combined the files and all works well!

Any html changes I make will affect only the one forum. Any changes made IN YAF will affect both forums. I assume that is because both point to the same database.

Now if I delete the unwanted forum directory, links on other sites to a certain post will be broken. I don't want that so I have to leave the old directory in place.
www.ddscart.orgUserPostedImageddscart@ddscart.org
Disabled Dachshund Society of Georgia
ddscart
  •  ddscart
  • 88.4% (Honored)
  • YAF Lover Topic Starter
2010-08-15T18:17:30Z
Hey guys, since I have move the forum to my main directory this morning, both Google and Yahoo bots are slamming my site!

Page changes mean something to the bots and they are seeing the changes big time now! Before the main page didn't change but every blue moon. Now it will change the index on every post!

#1 on the first page is a real possibility now!


Edited


Now #1 on page one on Goggle!!

What a differance!!!
www.ddscart.orgUserPostedImageddscart@ddscart.org
Disabled Dachshund Society of Georgia
ddscart
  •  ddscart
  • 88.4% (Honored)
  • YAF Lover Topic Starter
2010-08-15T19:37:20Z
We have just made #1 on the first page at Yahoo!!!!!
www.ddscart.orgUserPostedImageddscart@ddscart.org
Disabled Dachshund Society of Georgia
ddscart
  •  ddscart
  • 88.4% (Honored)
  • YAF Lover Topic Starter
2010-08-15T20:47:35Z
herman_herman wrote:

Hi
You can store source code in the App_Code folder, and it will be automatically compiled at run time. The resulting assembly is accessible to any other code in the Web application. The App_Code folder therefore works much like the Bin folder, except that you can store source code in it instead of compiled code.So if you have compiled DLLs in Bin then it is OK.




Thanks for the info. I need to look and see if any of the code that was there affects the forum now in a new directory without the code. Thanks man!
www.ddscart.orgUserPostedImageddscart@ddscart.org
Disabled Dachshund Society of Georgia

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved