Re: Problem with SQL and CuteEditor

  •  05-11-2010, 11:52 AM

    Re: Problem with SQL and CuteEditor

    a. Run in Visual Studio
     
    1. download "CustomFileProvider.zip" in http://cutesoft.net/example/howto.aspx
    2. unzip it
    3. open your visual studio
    4. click "File"==>"Open Project"==>"click file CustomFileProvider.csproj"
    5. open your sql server management studio
    6. create database called "customfileprovider"
    7. execute "SqlSample\fsitems.sql"  in database "customfileprovider"
    8. create one user such as "usera"
    9. grant database "customfileprovider" full permission to user "usera"
    10. open file "SqlSample\SqlFileStorage.cs", update the following line and match your actual setting,
         public static string ConnectionString=@"Server=(local);database=customfileprovider;uid=cute;pwd=cute;";
    11. Build project
    12. right click file "SqlSample\UseSql.aspx", click "View in Browser", you will can run this example

    b. Run in IIS

    1. download "CustomFileProvider.zip" in http://cutesoft.net/example/howto.aspx
    2. unzip it
    3. open your sql server management studio
    4. create database called "customfileprovider"
    5. execute "SqlSample\fsitems.sql"  in database "customfileprovider"
    6. create one user such as "usera"
    7. grant database "customfileprovider" full permission to user "usera"
    8. open file "SqlSample\SqlFileStorage.cs", update the following line and match your actual setting,
       public static string ConnectionString=@"Server=(local);database=customfileprovider;uid=cute;pwd=cute;";
    9. open your IIS
    10. create virtual directory called "customfileprovider" and let this virtual directory points to the unzipped folder
    11. right click file "SqlSample\UseSql.aspx" in IIS, click "Browse", you will can run this example
     
    Regards,
    Eric
View Complete Thread