CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

Eric Wise

Business & .NET

Easy Assets .NET 1.0.1

You can download the latest here.

I have updated the images file names to be more read_friendly.
I have also addressed the job description page problem (it wasn't really a code problem, the deploy folder was an older build... my bad).

In general, if you just replace the WebModules, Graphics, and Bin folders you should be good to go.



Comments

Sam Kuehn said:

When requesting owner information on an asset @ url: http://webdev2/easyassets/webmodules/Assets/AssetOwner.aspx?AID=1

I get this error

Source Error:



Line 56: Person</TD>
Line 57: <TD style="WIDTH: 196px" width="196">
Line 58: <asp:Label id=ResPerson runat="server" CssClass="displaylabel" Text="<%# a.Resource.LastFirst %>" Width="100%">
Line 59: </asp:Label></TD>
Line 60: <TD class="label" noWrap align="right" width="15%">Room</TD>

# August 16, 2005 11:01 AM

Stan said:

Eric,

I am getting ready to install and try out your product. Is it true that the .NET Framework V1.1 is required to be on the Database Server? I know that is what the readme says, but I thought I would double check.

Thanks!
Stan
# August 16, 2005 3:29 PM

Eric Wise said:

Yes, the dbinstall.exe file that builds the database for you is a .NET executable. I'll look into the other error.
# August 16, 2005 6:43 PM

Eric Wise said:

Sam,

Per the other thread Resource was refactored as Employee and ResourceType was refactored as job description. The refactor tool missed that one. Just update the AssetOwner.aspx file to read a.Employee.LastFirst and it should display fine.
# August 16, 2005 6:50 PM

Jeff willson said:

Have downloaded Easy Asets 1.0.1 and installed per instructions in readme.txt but when I goto http://localhost/easyassets it loads the default.aspx page but does not redirect to login page.

Have I missed a step somewhere?

No errors are shown.

# September 12, 2005 11:25 PM

Eric Wise said:

Jeff,

Check the security settings in IIS. The forms authentication only kicks in for a non-authenticated user. My guess is that you have windows authentication on the virtual directory and it's on your local machine.

Just a guess though, I haven't heard of anyone else having that problem.
# September 14, 2005 7:06 PM

Eddie Thomsen said:

Hi!
I have installed Easy Assets .NET 1.0.1 and it works fine :-)

But when i i create a new user i get this error "Object reference not set to an instance of an object"

Have i missed somthing??

Thanks.
# September 21, 2005 10:41 AM

Joe said:

The email field under new employees is limited to 25 characters?

Thanks, Joe.
# September 27, 2005 1:32 PM

Eric Wise said:

In the database all the email fields are set to varchar 50, it is probably the maxlength on the textbox is the victim of a copy/paste error. Just change the maxlength property in the .aspx file to read 50 and it should be good to go.
# September 27, 2005 3:59 PM

Joe said:

Eric, thanks for the quick response. You were right that did fix the email problem.

Problem #2 When trying to create a New User, I get the infamous "Object reference not set to an instance of an object" error.

This software looks very promising. I am anxious to get it going.

Many Thanks, Joe.

# September 30, 2005 12:54 PM

Eric Wise said:

To fix the Object Reference Error simply open the Webmodules/Admin/EditUser.aspx.vb file. Then in the btnSave_Click method change all the variables of thisUser to editUser.

Recompile and it should work properly!

Sorry it took so long to get an answer back, I've been hella busy lately with building my new house.
# October 1, 2005 10:22 PM

Joe said:

I am a newbie when it comes to Visual Studio and vb.net.

The file structure is:

c:\inetpub\wwwroot\EasyAssets\EasyAssetsVB
c:\inetpub\wwwroot\EasyAssets\EasyAssetsWeb

They both have .vbproj but c:\inetpub\wwwroot\EasyAssets\EasyAssetsVB

has a .sln file.

I several ways:

I opened the .sln file and tried to rebuild the solution but I get 105 errors.

So, I tried the .vbproj files with the same result.

Is there another way to recompile Webmodules/Admin/EditUser.aspx.vb ?

What I am doing wrong?

Many thanks Eric. Joe.

# October 3, 2005 1:05 PM

Eric Wise said:

1. Create a new blank solution

2. Add existing project - the .vbproj file from EasyAssetsVB

3. Add existing project - the .vbproj from inetpub

4. make sure the web project properly references the VB (business logic) project.

5. compile.
# October 3, 2005 4:10 PM

Joe said:

Excellent instructions!!

Many thanks Eric.

That worked fine! I am up and running.

Joe.
# October 3, 2005 6:10 PM

Brad said:

I've installed Easy Assets and its working great!  One thing, when I go into Administrator and try to add a user I get the ""Object reference not set to an instance of an object" .  I've tried looking into the instructions you gave Joe, but must be on a newer version.  I don't see a btnSave_Click.
# May 16, 2006 12:48 PM

Eric Wise said:

I recently put out a fix to the object reference error so any new downloads should be good to go.
# May 17, 2006 7:02 PM

Leave a Comment

(required)  
(optional)
(required)  

Enter the numbers above:
Add
Check out Devlicio.us!