Error after integrating Blogengine.net with exsisting site

Apr 21, 2010 at 12:08 PM

I had integrated BlogEngine.net into my exsistng asp.net website but encountered an error as below.Firstly when i tried to execute the site I got the error that BlogEngine is not defined ,later when I had used var keyword ,I encountered following error.

Compilation ErrorDescription: 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: JS1234: Only type and package definitions are allowed inside a library

Source Error:

 
Line 3:  //var BlogEngine= new Object();
Line 4:  
Line 5:  var BlogEngine = {
Line 6:      $: function(id) {
Line 7:         return id;


Source File: D:\GWP\src\NewMagazineApp\blogs\blog.js    Line: 5

 

Please Help me out .