Jump to content

Recommended Posts

Posted

Only just discovered HAP yesterday and I thought I had to post a message to say how brilliant it is.

 

Got it up and running in about an hour yesterday, have integrated it with some other systems we wanted to provide access to from outside School and am just in the process of making it look more like our website. It'll be rolled out to staff and students next week!

 

Couldn't get on the issue tracker at Codeplex so thought I'd post a request and bug here Nick:

 

Is it possible on the homepage, when adding links, to be able to make them open in a new window? (I tried adding target="_blank" to but HAP really didn't like it) This would be useful so that we could link to a couple of our other WebApps and still have HAP open in its own window at the same time.

 

 

Secondly, if using the silverlight version in Google Chrome, when browsing a directory of images, we aren't seeing any icon at all for the images (neither a standard image icon or a thumbnail of the image).

 

 

The Biggy........ its great to drag and drop from the desktop to HAP, but will we ever be able to drag from HAP to the Desktop. This is in my mind the killer feature to really make it easy for students and staff to work.

 

 

Thanks for all your hard work Nick... it really is a stunning piece of software.

 

Cheers

Adrian

Posted
Only just discovered HAP yesterday and I thought I had to post a message to say how brilliant it is.

 

Got it up and running in about an hour yesterday, have integrated it with some other systems we wanted to provide access to from outside School and am just in the process of making it look more like our website. It'll be rolled out to staff and students next week!

Thank you. Edit chs.master to make it look right

Couldn't get on the issue tracker at Codeplex so thought I'd post a request and bug here Nick:

 

Is it possible on the homepage, when adding links, to be able to make them open in a new window? (I tried adding target="_blank" to but HAP really didn't like it) This would be useful so that we could link to a couple of our other WebApps and still have HAP open in its own window at the same time.

Use javascript, "javascript:void(window.open('url'))" I will be adding a target box to config in the next release

Secondly, if using the silverlight version in Google Chrome, when browsing a directory of images, we aren't seeing any icon at all for the images (neither a standard image icon or a thumbnail of the image).

Ok, images have thumbnails, which may mean that they aren't loading. browse to /extranet/api/thumb/path.extension to see the thumbnail. (I think)

 

The Biggy........ its great to drag and drop from the desktop to HAP, but will we ever be able to drag from HAP to the Desktop. This is in my mind the killer feature to really make it easy for students and staff to work.

This feature can't be done because of security in both silverlight and the web browser. It will however be possible in the up coming desktop client (paid version though £100 for the whole school). The paid for version development can be seen on my website Home - nb development

 

Thanks for all your hard work Nick... it really is a stunning piece of software.

 

Cheers

Adrian

No problem Adrian, glad to hear it's working

Posted

Hi Nick

 

Got the layout sorted, thanks. And used the javascript for opening in a new window - perfect.

 

Not sure where I'm looking for these images though (they work fine in other browsers). Tried browsing to /extranet/api/thumb/path.extension but couldn't see anything.

 

The problem isn't a biggy. Most people here are using Firefox, IE or Safari. It just seems odd that Chrome doesn't show them.

Posted
try /Extranet/api/mycomputer/thumb/%path%.%extension%. e.g. Extranet/api/mycomputer/thumb/N/my pictures/logo.png. Should render something. If it doesn't chrome must be playing up with urls
Posted
try /Extranet/api/mycomputer/thumb/%path%.%extension%. e.g. Extranet/api/mycomputer/thumb/N/my pictures/logo.png. Should render something. If it doesn't chrome must be playing up with urls

 

Ok, tried this and I can browse to the thumbnail fine in Chrome, its just not showing when using the silverlight browser in HAP

Posted

Hi, first of all excellent web app,

 

Ive sorted out most of my config issues I had, but ive got two that have left me pulling my hair out,

 

First one is while accesing home access plus on the server, It works perfectly while using the basic view but when i click on enhanced Im being prompted for a username and password, If anyone could give me a solution or ideas I would be grateful

 

Second one: is the adding of the javascript entry to opening custom links in a seperate window, not sure where im meant to enter this, if anyone could give an example of code for one unc path.

 

 

Thanks Antony

Posted
In the config tool/web.config find the home page links. In the Link Href box for the link you want to change, enter "javascript:void(window.open('newurl.com'));"
Posted

Hi nick can you help me ? got a few questions ( brill program btw ! )

 

1.) 8 or 9th line in web.config it says studentgroupname do i put there active directory group name ? as in Pupils ? or is this something else

2.) Im running a plain server 2003 system no RM , In establishment code do i just delete this and leave it blank ?

3.) i have got extranet running .. lets me login etc .. But gives me 404 error sahing the page does not exisit (localhost/extranet/mycomputer/N ) on clicking on my documents .. even though i have set the UNC path ?

Is number 3 a web.config error or have i set up IIS incorrectly ?

Posted

i just went back through IIS and added a few things i missed on ur video

 

now i get this when trying to access a drive

 

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

 

Source Error:

 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

 

[NullReferenceException: Object reference not set to an instance of an object.]

HAP.Web.mycomputer.DataBind() +2148

HAP.Web.mycomputer.Page_Load(Object sender, EventArgs e) +16

System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14

System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35

System.Web.UI.Control.OnLoad(EventArgs e) +91

System.Web.UI.Control.LoadRecursive() +74

System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207

Posted (edited)

When I try and edit annoucements I get the following:

 

Server Error in '/HAP' Application.

Access to the path 'c:\inetpub\wwwroot\HAP\App_Data\Announcement.xml' is denied.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

 

Exception Details: System.UnauthorizedAccessException: Access to the path 'c:\inetpub\wwwroot\HAP\App_Data\Announcement.xml' is denied.

 

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6 and IIS 7, and the configured application pool identity on IIS 7.5) that is used if the application is not impersonating. If the application is impersonating via , the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

 

To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

 

Source Error:

 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

 

Stack Trace:

 

[unauthorizedAccessException: Access to the path 'c:\inetpub\wwwroot\HAP\App_Data\Announcement.xml' is denied.]

System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +9726046

System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath) +1142

System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +83

System.Xml.XmlDocument.Save(String filename) +138

HAP.Web.Controls.Announcement.saveann_Click(Object sender, EventArgs e) +383

System.Web.UI.WebControls.Button.OnClick(EventArgs e) +118

System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +112

System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10

System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13

System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36

System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563

 

 

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

Edited by wesleyw
Posted
i just went back through IIS and added a few things i missed on ur video

 

now i get this when trying to access a drive

 

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

 

Source Error:

 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

 

[NullReferenceException: Object reference not set to an instance of an object.]

HAP.Web.mycomputer.DataBind() +2148

HAP.Web.mycomputer.Page_Load(Object sender, EventArgs e) +16

System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14

System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35

System.Web.UI.Control.OnLoad(EventArgs e) +91

System.Web.UI.Control.LoadRecursive() +74

System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207

 

Having looked at this . In the silverlight version it shows me the correct Drive usage .. I.e. how much % it has used .. But it just wont list the files it just errors out :(

( i believe this is the same problem as page 12)

I have tried a shared drive which is located on the IIS server and this also done the same error as above :(

Posted

Hi, Nick

 

Im having a few issues regarding the enhanced view, on the development server its under the default website and when configured functions correctly,

 

but ive found when Ive put it under a custom website, the basic works perfect but the enhanced directs to the default website, its missing the port number.

 

eg when in basic its http://172.16.1.3:8081/HomeAccessPlus/MyComputer.aspx

when in enhanced its http://172.16.1.3/HomeAccessPlus/MyComputerSL.aspx

 

this obviously causes the enhanced view to fail to find the folder listed

 

any ideas?

Posted

Just about to start playing around with this again (had a busy few weeks) and i see on your site you have an update for 5.4 > 5.4.2 but im currently running version 5.3.1.0, i'd like to update can i just use the 5.4 > 5.4.2 update or do you have another update file for this?

 

EDIT: nevermind, im a plank, just noticed the thing on the right :p

Posted
When I try and edit annoucements I get the following:

 

Server Error in '/HAP' Application.

Access to the path 'c:\inetpub\wwwroot\HAP\App_Data\Announcement.xml' is denied.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

 

Exception Details: System.UnauthorizedAccessException: Access to the path 'c:\inetpub\wwwroot\HAP\App_Data\Announcement.xml' is denied.

 

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6 and IIS 7, and the configured application pool identity on IIS 7.5) that is used if the application is not impersonating. If the application is impersonating via , the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

 

To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

 

Source Error:

 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

 

Stack Trace:

 

[unauthorizedAccessException: Access to the path 'c:\inetpub\wwwroot\HAP\App_Data\Announcement.xml' is denied.]

System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +9726046

System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath) +1142

System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +83

System.Xml.XmlDocument.Save(String filename) +138

HAP.Web.Controls.Announcement.saveann_Click(Object sender, EventArgs e) +383

System.Web.UI.WebControls.Button.OnClick(EventArgs e) +118

System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +112

System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10

System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13

System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36

System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563

 

 

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

I've attached a picture of my permissions

[ATTACH=CONFIG]8516[/ATTACH]

Posted
Having looked at this . In the silverlight version it shows me the correct Drive usage .. I.e. how much % it has used .. But it just wont list the files it just errors out :(

( i believe this is the same problem as page 12)

I have tried a shared drive which is located on the IIS server and this also done the same error as above :(

 

Still doing the above Nick .. even rebuilt onto a vmware machine running server 2008 . ALl works correctly except viewing the drives again :(

any other suggestions

Posted

Ok finally found the reason why none of my drives are working

 

this may be a possible bug..

 

Unless my useraccount has a HOME DRIVE path in AD none of my mapped drives will work :(

 

as soon as i enterd a homedrive into my user account it worked perfect and all UNC paths not related to the home drive works ! wahoo ..

 

Thanks Nick ;)

Posted

Hi Nick,

 

We've just updated to the latest verison after about 6 without updating - looks so far to be an excellent upgrade.

 

The only problem we've got is that when you switch to the Enhanced view, you get an error

 

"Unhandled Error in Silverlight Application

Code: 2108

Category: InitializeError

Mesage: 2108 An error has occurred"

 

Then in javascript errors on the page we're getting:

 

Webpage error details

 

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; Tablet PC 2.0; InfoPath.3; .NET4.0C; .NET4.0E)

Timestamp: Thu, 11 Nov 2010 17:01:01 UTC

 

 

Message: 'findName(...)' is null or not an object

Line: 47

Char: 4

Code: 0

URI: https://e.loreto.ac.uk/extranet/MyComputerSL.aspx

 

 

Message: 'findName(...)' is null or not an object

Line: 47

Char: 4

Code: 0

URI: https://e.loreto.ac.uk/extranet/MyComputerSL.aspx

 

 

Message: 'findName(...)' is null or not an object

Line: 47

Char: 4

Code: 0

URI: https://e.loreto.ac.uk/extranet/MyComputerSL.aspx

 

 

Message: 'findName(...)' is null or not an object

Line: 47

Char: 4

Code: 0

URI: https://e.loreto.ac.uk/extranet/MyComputerSL.aspx

 

 

Message: 'findName(...)' is null or not an object

Line: 47

Char: 4

Code: 0

URI: https://e.loreto.ac.uk/extranet/MyComputerSL.aspx

 

 

Message: 'findName(...)' is null or not an object

Line: 47

Char: 4

Code: 0

URI: https://e.loreto.ac.uk/extranet/MyComputerSL.aspx

 

 

Message: 'findName(...)' is null or not an object

Line: 47

Char: 4

Code: 0

URI: https://e.loreto.ac.uk/extranet/MyComputerSL.aspx

 

 

Message: 'findName(...)' is null or not an object

Line: 47

Char: 4

Code: 0

URI: https://e.loreto.ac.uk/extranet/MyComputerSL.aspx

 

 

Message: Unhandled Error in Silverlight Application

Code: 2108

Category: InitializeError

Message: 2108 An error has occurred.

 

Line: 44

Char: 4

Code: 0

URI: https://e.loreto.ac.uk/extranet/MyComputerSL.aspx

 

--

 

However, as far as I can tell all seems to work. Do you have any suggestions?

 

Thanks

 

John

Posted

Playing with current version via IE8:

 

- With the non-enhanced file browser, when I hit Upload I get an alert box displaying "https:\\server\Extranet\Upload\"

 

- Should the List view mode display them in a vertical list, one folder/file per line? If so it's not doing that (they're all one one line and disappear off to the right)

Posted

Just spotted a slight issue.

 

In the web.config file I've set it up so that only staff and musictutors see a particular drive.

 

 

When a student logs on, if they are using Basic mode then they don't see this drive, but if they switch to the Enhanced view then they can see this drive.

 

They can't access the folders or open the items that are on this drive as they don't have the permissions to do so, but I would rather they didn't see it at all.

 

Can we set the silverlight version not to show particular drives like the basic version?

Posted

couldnt get myself to replicate that problem TheFopp

 

Id make sure the students are 100% not in the Staff or Musictutors group

Posted

It must be a cookie thing.

 

I was previously checking the student access to HAP whilst still being logged on to my PC as me. When I actually logged on to the PC as a student then went to HAP and entered a student username and password it worked fine.

Posted

OK, I've sorted install for pupils on 1 domain and pretty much everything sorted for staff on the other domain ... but am getting the following error when trying to access the bookings module as a domain admin so that I can set it up ... Anyone have any good ideas?

 

Last thing to get working before remote testing gets under way :-)

 

Server Error in '/HAPStaff' Application.

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

 

There is no such object on the server.

 

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

 

Exception Details: System.DirectoryServices.DirectoryServicesCOMException: There is no such object on the server.

 

 

Source Error:

 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

 

Stack Trace:

 

 

[DirectoryServicesCOMException (0x80072030): There is no such object on the server.

]

System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) +420085

System.DirectoryServices.DirectoryEntry.Bind() +36

System.DirectoryServices.DirectoryEntry.get_AdsObject() +31

System.DirectoryServices.DirectorySearcher.FindAll(Boolean findMoreThanOne) +78

System.DirectoryServices.DirectorySearcher.FindAll() +9

HAP.Web.HelpDesk.ADUtil.FindUsers(ouobject ou, String subou) +324

 

[Exception: LDAP://DC3.beausandver.local/OU=Staff,OU=Beaumont,DC=beausandver,DC=local]

HAP.Web.HelpDesk.ADUtil.FindUsers(ouobject ou, String subou) +1126

HAP.Web.HelpDesk.ADUtil.FindUsers() +229

HAP.Web.BookingSystem.BookingPopup.Page_Load(Object sender, EventArgs e) +100

System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14

System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35

System.Web.UI.Control.OnLoad(EventArgs e) +91

System.Web.UI.Control.LoadRecursive() +74

System.Web.UI.Control.LoadRecursive() +146

System.Web.UI.Control.LoadRecursive() +146

System.Web.UI.Control.LoadRecursive() +146

System.Web.UI.Control.LoadRecursive() +146

System.Web.UI.Control.LoadRecursive() +146

System.Web.UI.Control.LoadRecursive() +146

System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...