CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > starter_kits_and_source_projects.portal_starter_kit Tags:
Item Type: Date Entered: 9/7/2005 4:48:17 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 4 Views: 33 Favorited: 0 Favorite
5 Items, 1 Pages 1 |< << Go >> >|
"tonystark" <>
NewsGroup User
Compiling changes for the SDK version9/7/2005 4:48:17 AM

0

Does anyone have any suggestions on how to compile the SDK version of the ASP .NET Portal Starter Kit.

I have followed the White Paper on adding a custom module.  Everything works except that when I load that page, I get an error: 

Server Error in '/PSK' Application.

Compilation Error

Description: 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: BC30002: Type 'ASPNET.StarterKit.Portal.ProvidersDB' is not defined.

Source Error:

Line 17:         ' Obtain announcement information from Announcements table
Line 18:         ' and bind to the datalist control
Line 19:         Dim Providers As New ASPNET.StarterKit.Portal.ProvidersDB()
Line 20:     
Line 21:         ' DataBind Announcements to DataList Control

Source File: d:\inetpub\anthonystark\PSK\DesktopModules\Providers.ascx    Line: 19

---------------------------------------------------------------------------------------------------------------------------------------------

I have read that the 'VS' (visual studio) version is easier to build but I'm hosting remotely and it seems that I cannot use the VS version as easily if I'm not developing locally.

Any suggestions/documents are very welcomed . . .

Thanks in advance,

Tony
"webber123456"
NewsGroup User
Re: Compiling changes for the SDK version9/7/2005 11:06:49 AM

0

To compile, simply  run the batch file called mk.bat in the components folder.  Doesn't get much easier than that.

If other pages work, then the compilation apparently worked, and so the problem appears to be in the file called Providers.ascx

Since it can't find "
ASPNET.StarterKit.Portal.ProvidersDB"  , verify namespace and class name spelling and then use:


Dim Providers As New <namespace>.<class>



"tonystark" <>
NewsGroup User
Re: Compiling changes for the SDK version9/7/2005 2:49:26 PM

0

Thanks for your response webber.

I ran the mk batch file and the page still gives the same error.  I've checked the namespace, class name, etc. and all is well.  Below is a copy of the mk.bat file for review (also, this is running on a remote web server)  - Any help?? :

call "C:\Program Files\Microsoft Visual Studio .NET\Common7\Tools\vsvars32.bat"
vbc /t:library /out:..\bin\ASPNETPortal.dll *.vb /r:System.web.dll /r:System.data.dll /r:system.dll /r:System.Drawing.dll /r:System.Xml.dll /r:System.Web.Mobile.dll
pause

If someone can give me any direction I would really appreciate it.

Thanks again webber for your help so far,

Tony
"tonystark" <>
NewsGroup User
Re: Compiling changes for the SDK version9/7/2005 3:32:05 PM

0

I finally got it to work.  This is what I had to do:

1) Copy the Components folder local with whatever vb files I wanted to compile (i.e. all the existing ones plus ProvidersDB.vb).

2) Place this in a testing folder structure like: (the batch file is looking for a bin directory at the same level of Components)

Test

   - bin (folder)

   - Components (folder)

      - *.vb files

      - mk.bat

3) Run the mk.bat file locally which will create the ASPNETPortal.dll in the local bin directory

4) Copy this .dll to the web directory

I hope this works for others (I've been seeing similar posts in other message boards),

Tony

"webber123456"
NewsGroup User
Re: Compiling changes for the SDK version9/7/2005 7:02:21 PM

0

Glad you got it working.

That's actually the standard folder structure for the sdk version and should have existed when the  portal was  installed.

For the remote location, the components folder does not need to be uploaded.  The bin folder does need to exist on the remote server with any DLL files you are currently using.



5 Items, 1 Pages 1 |< << Go >> >|


Free Download:













strange behavior in ibuyspy portal?

how could i create a google search form in the portal starter kit?

which option should i choose?

why didn't i revise desktopdefault.asxp file?

add access control to modules

ibs info needed

default user role

error while editing

casting the page.loadcontrol to the portalmodulecontrol

aspnetportal:text

how to admin ibuyspy store?

any consultants out there?

please help - unable to set breakpoint in desktopdefault page

login failed for user 'nt authority\servizio di rete'.

problem editing quicklinks...

create module with sole purpose of loading a usercontrol

blank page

c# two-level tabs's source code

please help me i will be crayz

no login on intranet version

webcouner for portal

tabs don't inherit portal look and feel in new module postback

server permissions

background change

multiple portals different database same server

zonealarm prevents login!! why

creating a new module

help! cannot add anything to porta...

global.asax c# question about context object

customization

portal label update problem

performance tip

removing "review this product"

defalut.aspx won't show

xd portal - what do you think?

how to they create tabs

loading asp.net starter kit

adding mudules from other starter kits

admin tab

installing ibuyspy portal on remote server

does anybody knows if this portal is secure ?

ibuyspy portal clone - request for comments

why is there a different event handler to add roles in manageusers.aspx

drop down list box in vs2002

where are content management modules?

trouble with launching portal starter kit application.

lf: ibs_portalvb.exe

milestones extension

which installer download to use?

admin module

   
  Privacy | Contact Us
All Times Are GMT