Installation is not progressing

Topics: Developer Forum
Jul 7, 2010 at 2:03 PM

Hi,

While installing, it is stuck at the following point not progressing even after 30 mins or so. I am using Win 7, VS 2008 & SQL Server 2005.  Need help immed. Thanks in advance

Installing DotNetSCORM

Installation in Progress

Installing Membership and Roles
Installing Schema and other SQL Scripts
Installing Script Schema - Success
Installing Script Portal - Success
Installing Roles - Done
Configuring AdminConfiguring Install Event Msg 

Sep 9, 2010 at 8:02 PM

There is a loop issue in the app_code/cscode/installutil.cs file.  Add these two lines after line 239 to fix:

Before:

while (sReader != null)
                    {
                        msgText += sReader.ReadLine();
                   }

After:

while (sReader != null)
                    {
                        msgText += sReader.ReadLine();
                        if (sReader.EndOfStream)
                            break;
                    }

 

 

 

May 17, 2011 at 12:34 PM

here is a loop issue in the app_code/cscode/installutil.cs file.  Add these two lines after line 239 to fix:

Before:

while (sReader != null)
                    {
                        msgText += sReader.ReadLine();
                   }

After:

while (sReader != null && sReader.ReadLine()!=null)
                    {
                        msgText += sReader.ReadLine();
                      
                    }

so it solves and not going to forever in loop.