|
|
Hi,
I am student of MS. Got a project to do in Distributed Systems. I want to create the mobile agent in .NET Framework. I have never worked on such application before. Can anyone plz tell me the information how should i start my work. Some articles which will help in implementing the agent.I will be very thankful
|
|
|
|
|
|
dear All,
i h a web application which i used to run from my VS 2005 and it generate the following address
http://localhost:1027/UPMS/Login.aspx
can any one tell ,me how i can access this from other PC as i give this address it does not if any one of u help me in this regard i will be gr8full to him
i also publish the site but it give many error
is publiushing a site is only solution or i can use some different methods
thanks in advance
Regards
|
|
|
|
|
The built-in web development server only services the local request, you cannot use it to process the remote request. If you want, you'll need to run your application in the IIS.
What error do you get when publishing your web site? In addition to the Publish menu item, you can use the command line tool aspnet_compiler.exe to precompile your web site.
|
|
|
|
|
thanks for ur kind respose i will send u error occur after i have done this
|
|
|
|
|
insted of localhost put your machines ip.
for example http://199.88.88.99:1027/UPMS/Login.aspx
to know your machine's ip do as below [on windows 2000]
go to command prompt and type "ipconfig" it will show you the IP Address.
now you or any one else can access it form other pc.
CA Keer.
|
|
|
|
|
Hi,
I have uploaded my project to a Web Hosting Server that doesn't provide Crystal Report...
What is the best way to create reports other than using Crystal Report?
I am too late but i will never give up
|
|
|
|
|
If they don't provide, can you deploy the required assemblies seperately?
In addition, you may also consider using another third party component like ComponentOne WebReports, XtraReport ....
|
|
|
|
|
I am happy to talk to you again...
What do you mean by seperately?I mean how could I deploy the crystal report assemblies separately and why?
I have used the Visual Studio.net crystal Report in my Project and then I uploaded the whole Project (to update the Project on the web).
I am too late but i will never give up
|
|
|
|
|
By this I mean you can choose to deploy the assemlies required to run the report in the bin folder of your application.
|
|
|
|
|
We recently upgraded to VS2005 and .NET 2.0. I was running one project earlier with no issues. I tried to open a second project and got the following error:
"Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version = 2.0.0.0, Culture.... failed.' "
The program works fine on my boss' machine. Since the other program works I don't think I installed anything incorrectly. Any ideas on how to fix?
Thanks!
|
|
|
|
|
check your users. your permissions are incorrect on that file
are you part of the debuggers group?
--------------------------------------------------------
1 line of code equals many bugs. So don't write any!!
My mad coder blog
|
|
|
|
|
Hi,
I got this error when I define
Dim htmlwrite As System.Web.UI.HtmlTextWriter
htmlwrite = System.Web.UI.HtmlTextWriter.Null
in the ASP.net code behind.
But if I take the second line out, it gives me another error message "Object not defined"
Basically I just want to open Excel file from ASP page or be able to open Excel page from Explorer. It works fine in ASP, but not working in ASP.NET.
Anyone can help?
Thanks advanced
Dina
Dina
|
|
|
|
|
why would you set it to null?
--------------------------------------------------------
1 line of code equals many bugs. So don't write any!!
My mad coder blog
|
|
|
|
|
Ista,
Thanks for advise. I resolve the problem. I take the line that sets to null and move to the if statement, now the error is gone.
Dina
Dina
|
|
|
|
|
after this line
Dim htmlwrite As System.Web.UI.HtmlTextWriter
will be htmlwriter null, so you don't need to set it to null again.
Pilo
|
|
|
|
|
HI , i added a checkbox into my datagrid & i want when checking this latest to select the row this latest belong to
well , i don't want you askme why i want this feature ? i just need it i thaught a lot about an other solution , if you have one tell me
thank you
try to be good if you can't be the best
|
|
|
|
|
check the sender object
--------------------------------------------------------
1 line of code equals many bugs. So don't write any!!
My mad coder blog
|
|
|
|
|
hey, howare you ?
i tried the sender object but it didn't work , i really need now to know the control that caused the postback ,because i needed it in some other things
try to be good if you can't be the best
|
|
|
|
|
You have to make a loop in which u have to check all the checkboxes in grid row by row.
You can write this code in CheckedChanged event.
Do good and have good.
|
|
|
|
|
I'm using a data bound Gridview and added two dropdown list using TemplateField say country and state. I need to fill the state dropdownlist with respect to the country(ddl) selected.
I tried to to fire the selectedindexchanged event of Gridview by addid the below in GridView1_RowDataBound
e.Row.Attributes.Add("onMouseOver",
"this.style.cursor='hand';");
e.Row.Attributes.Add("onclick",
this.GetPostBackClientEvent(GridView1,
"Select$" + e.Row.RowIndex.ToString()));
But before I click the dropdownlist the selectindexchanged get executed.
How do i achieve that..
Hope for help at the earlist
Thanks in advance
Vijoo
|
|
|
|
|
|
I looked at the custom provider and it seems like a good fit for what I need to do with some modifications. I guess if I explained what I am trying to do then it might be easier to steer me in the direction I need to go.
The main system has different modules and people can have access to one or many modules.
John Doe has access to:
Property Management (Module 1) - 'User' role
- View Properties
Customers (Module 2) - 'Admin' role
- Add New Customer
- Reports
Future Modules, etc.
John has access to module 1 and is in 'User' role. User role is restricted to certain pages, etc.
John has access to Module 2 and is in 'Admin' role. Admin role can view all.
When John logs in, 2 tabs are shown, Property Management and Customers. When he clicks on an item, sub navigation is shown based on his role.
Essentially the application needs to scale out to however many modules are needed and top-level navigation (module) needs to be built on the fly based on users access level.
What would be the best approach to this scenario? Have the navigation (modules and subsequent pages) all pulled from the database or would a mix of database and web.config in folders work better?
All the examples that I have seen have been relatively simple and none that I have seen deal with more complex situations like I described. Any thoughts or ideas would be GREATLY appreciated.
Thanks in advance
|
|
|
|
|
Using SiteMap and the built in Menu control in .NET 2.0 you can put a "Roles=" option in the SiteMap that only has those nodes show up in the menu control if the user is in one of the listed Roles (and IIRC, if you don't list roles they are viewable to all).
|
|
|
|