+ Reply to Thread
Results 1 to 6 of 6

Thread: Migrating from another Server

  1. #1
    Join Date
    Jan 2009
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Migrating from another Server

    I have a very small app (inc. Reporting Services) which was written for me by a contractor and I would like to migrate it to Red Fox.
    I already have a Premier Account.
    I am not that experienced with ASP and have noticed server-specific code here and there in the app and I'm not sure about what to change it to.
    Any of you very kind guys out there willing to help?
    One such server-specific piece of code is "com.mysite4now.reportexecution2005", which exists in the PDFGenerator.vb file.

    TIA.

  2. #2
    Join Date
    Mar 2005
    Location
    Hampshire
    Posts
    432
    Thanks
    4
    Thanked 3 Times in 3 Posts

    Default

    Without seeing the code there is no way to help you. However, it the person who wrote it hard coded server specific settings in the code they want slapping. That sort of thing should ALWAYS go into the config file, so that it can be changed without touching the code.

    Having said that, at a guess they would need to be changed to the RF equivelent settings.

    Just chill

  3. #3
    Join Date
    Jan 2009
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Tanzy View Post
    Without seeing the code there is no way to help you. However, it the person who wrote it hard coded server specific settings in the code they want slapping. That sort of thing should ALWAYS go into the config file, so that it can be changed without touching the code.

    Having said that, at a guess they would need to be changed to the RF equivelent settings.

    Cheers Tanzy. I was just about to post the following, as I realised how vague I'd been, when I saw your post.

    If I was able to get a handle on what's happening here (in the highlighted red lines), and what the RF equiv would be, that'd give me something to get my teeth into.


    ====================================
    Imports com.mysite4now.reportexecution2005
    Imports com.mysite4now.reportservice2005
    Imports CustomExceptions
    Imports DataAccessLayer
    Imports log4net
    =====================================


    TIA



  4. #4
    Join Date
    Mar 2005
    Location
    Hampshire
    Posts
    432
    Thanks
    4
    Thanked 3 Times in 3 Posts

    Default

    Quote Originally Posted by g1media View Post
    ====================================
    Imports com.mysite4now.reportexecution2005
    Imports com.mysite4now.reportservice2005
    These lines make it look as though it is linking to a web service. If this is the case check your web.config file for the url address of the web service, and you should be OK to just update it there. The com.mysite4now.* is the namespace that is being used so don't worry too much about that.

    Quote Originally Posted by g1media View Post
    Imports log4net
    =====================================
    This is for log4net, which is a logging application. It may be possible that where it was hosted this dll was in the GAC so not needed. If you go to http://logging.apache.org/log4net/download.html you will be able to download Log4Net. Then just put the log4net.dll into the websites bin folder.

    Hope this helps, shout if you need a better description.

    Just chill

  5. The Following User Says Thank You to Tanzy For This Useful Post:

    g1media (23rd January 2009)

  6. #5
    Join Date
    Jan 2009
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Awesome, Tanzy. Thanks for your help.

  7. #6
    Join Date
    Jan 2009
    Posts
    11
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    . . . . . . .

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. sunshop card migrating problem
    By HostCan in forum Technical Support
    Replies: 3
    Last Post: 24th April 2007, 02:23 PM
  2. Replies: 2
    Last Post: 24th April 2007, 01:49 PM
  3. Replies: 9
    Last Post: 20th February 2007, 08:17 PM
  4. Replies: 2
    Last Post: 2nd August 2006, 03:04 PM
  5. What is the ways for migrating to England ?
    By HostCan in forum Garble
    Replies: 1
    Last Post: 28th April 2006, 03:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts