CodeVerge.Net Beta


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

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > windows_hosting.hosting_open_forum Tags:
Item Type: NewsGroup Date Entered: 5/5/2006 6:19:08 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 18 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
dfrauzel
Asp.Net User
Help recompiling MPSSampleCP5/5/2006 6:19:08 PM

0/0

I'm using the Consolidated Server Deployment guide, which includes the MPSSampleCP app. I'd like to customize it (we host Citrix as well as Exchange and web), and more than just the ASCX files - I'd like to change the code-behind as well, if that's possible.

I have pretty extensive experience programming in other languages, but none in C# (and only a little in C++). So I'm guessing through a lot of what I need to do, and making pretty good progress, but I can't quite get MPSSampleCP to work after I've recompiled. (I get thrown to Error.htm.)

Could anyone provide me a basic set of instructions on how to recompile this application? Do I *need* to use the VS IDE, or could I use for example #develop? Is it possible to compile it with the 2.0 framework? Is there a specific version of ActiveDs I need to have on my system?

Any help appreciated. Thanks.

 

dfrauzel
Asp.Net User
Re: Help recompiling MPSSampleCP5/8/2006 7:56:11 PM

0/0

I figured it out. Maybe this is all very trivial for an experienced C# programmer, but being a sysadmin my background only gives me just enough know-how to grope at these things, and figure it out as I go along. (MSDN and a thorough understanding of AD are all you really need for some quick hacks, after all.) So, here's some documentation for the posterity of any other sysadmins in a similar position.

With #develop specifically, I found I had to do two things. Neither was really specific to #develop, but I'll describe them in terms of that program, since it's the best free IDE I could find for C#, and I'd recommend it to anyone already familiar with powerful IDEs like Borland's or Microsoft's.

1) A "reference" to ActiveDs.dll is needed. Several functions in the sample CP use this library. I was able to add this reference in two different ways, but one of them doesn't work.

1a) References can be added by right-clicking the References folder in the Projects pane on the left side. (Or, Project menu, Add Reference.) From the dialog that opens, the tempting choice is to use the COM tab, where ActiveDs.tlb is already listed. This method won't work. It's a different version of ActiveDs, at least on my system, than the one the project appears to expect.

1b) Instead, use the .NET Assembly Browser tab in that dialog, hit Browse, and locate the pre-compiled Interop.ActiveDs.dll file in the project's bin folder.

2) MPSSampleCP is a .NET 1.1 application. #develop wants to default to 2.0, and even with the 2.0 framework installed on my target system (FE01), the app refused to run. So I had to get #develop to target 1.1 instead. This is done from the Project menu, Project Options, Compiling tab, Target Framework drop-down.

Hope this helps. If anyone does have some feedback or other experiences to share on customizing MPSSampleCP, I'd be interested in hearing what you have to say.

 

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


Free Download:


Web:
Help recompiling MPSSampleCP - ASP.NET Forums Help recompiling MPSSampleCP. Last post 05-08-2006 3:56 PM by dfrauzel. 1 replies. Sort Posts: Oldest to newest, Newest to oldest ...
Users can't change password or update info in the sampleweb - ASP ... Someobody please help with this error , where do I look ? ... The error is specifically the MPSSampleCP, and it's a bug or misfeature in the CP, ... and recompiled CorePlugins.dll without making any changes. ...




Search This Site:










adding property to a custom textbox

listing page controls in property browser

need new isp that does db backups daily

whow are the best windows hosters these days ?

notifyparentproperty in collection of complex property

composite custome controls

tree control

deriving a control from a base class declared mustinherit

optimizing toolboxbitmapattribute

free asp.net hosting???

problem with databinding custom server control

email control

multi-level user control design time properties....

gate.com

custom designeractionlists

help with sql2005 and asp.net 2.0 hosting in india

are there any rules for naming a webcontrols assembly?

collectwmilogoninformation error when executing

can a listitem in a radiobuttonlist be a textbox?

render() vs. createchildcontrols() in composite control

how can i put literal content into a user control?

panel content gone when editing parent properties

using rendercontrol to capture output from a user control

viewstate in templated usercontrol

'cc1:webdynamiclist' could not be set on property 'columns'

server control to hold others

user control won't import user-defined namespace

listbox datasource property

license question - trial period???

event handling (please help)

  Privacy | Contact Us
All Times Are GMT