Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / March 2008

Tip: Looking for answers? Try searching our database.

Copy project to sharepoint services 3.0 IIS

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Zamdrist - 20 Mar 2008 22:25 GMT
I've copied a project from a non-sharepoint IIS server to a sharepoint
services 3.0 IIS server, in a virtual directory similar to how the
source project was layed out as.

When I copy it over it seems to copy fine until the end where it
complains about not being able to copy everything to the bin folder.
Yet when I open the project (open/project from web) it appears fine,
and yet when I run the project, I get an error message to the effect
of: The attribute 'autoeventwireup' is not allowed in this page.

Does anyone have any thoughts, and does anyone know of any caveats
when it comes to running VB.Net projects created in Visual Studio 2003
on Sharepoint Services 3.0?

Additional note: Both the source and destination IIS server are
running .Net 1.1 Framework, so I wouldn't think a conflict in
framework version would be an issue.

Thanks,

Steve
bruce barker - 21 Mar 2008 01:53 GMT
sharepoint does not allow any code in the aspx page, or a codebehind file.
the aspx should only be controls.

your page can host a webpart which has code. you need to convert your
project to webparts. then install the webparts on the sharepoint server (a
classid will be assigned), add them to the site hosting your aspx pages. use
the classid to identify the webpart.

you probably should pickup a book and start reading.

-- bruce (sqlwork.com)

> I've copied a project from a non-sharepoint IIS server to a sharepoint
> services 3.0 IIS server, in a virtual directory similar to how the
[quoted text clipped - 17 lines]
>
> Steve
Zamdrist - 21 Mar 2008 04:28 GMT
Yeah I see that now, nosing around some more...appreciate.

> sharepoint does not allow any code in the aspx page, or a codebehind file.
> the aspx should only be controls.
[quoted text clipped - 7 lines]
>
> -- bruce (sqlwork.com)

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.