|
How did you host your web service on Hosting Server? Did you create virtual Directory in IIS?
|
|
|
|
|
This is on a hosting service's servers so I don't have access other than ftp my files to the httpdocs folder where I made a subfolder FileXfer and there reside my files and App_Code subfolder.
(I tried to call them and got someone that knows nothing other than it does run .net 2.0.5)
I did get on their hosting page and saw how I can change the .net version, but didn't see virtual names. I did create a subdomain FileXfer that points to the FileXfer folder.
I removed a file precompiled.config (or similar) and now referencing it through the subdomain is working.
http://www.mydomainname.com/FileXfer/FileDownload.asmx -- not work.
But accessing it physically with vb code in asmx file: www.mydomainname.com/FileXfer/Filedownload1File.asmx does still work.
Both work through domain:
http://filexfer.mydomainname.com/Filedownload.asmx"
I'm just new to this environment, otherwise a business app programmer. So I'm just not getting the stuff in the right place, the right way.
I think this is working, but I still don't understand why the combination of direct file name access (vs. through subdomain name) AND vb code in codebehind (separate file) does not work together.
modified on Friday, July 17, 2009 3:51 PM
|
|
|
|
|
Lori,
After developing our web sites/Web service what we need to do, just hosted it onto server. And this means we have push it on IIS Server. In IIS, we need to create virtual directory and need to set the properties for Default pages, .NET Framework version, Authentication settings etc. Then only it can accessable properly.
|
|
|
|
|
What could be the possible situations/scenarios when you want to have a dictionary object within dictionary?
Meaning a dictionary object which would take another dictionary as its key.
private Dictionary<Dictionary<string, string>, string> myDictionary = new
Dictionary<Dictionary<string, string>, string> ;
I mean, I'm trying to go through some code and its doing that, I am new to such complicated data structures such as ditionaries....and this doesnt even look like a common way most people use it.
Post people would have a string key and a string value ( or interger or something).
can someone elaborate on this?
Thanks a lot
Tina
|
|
|
|
|
What does this have to do with ASP.NET ? you would use it, if you need it. If you have no clear need, don't do it. Why are you asking ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
I'm not sure what you meant...this is all done from a ASP .net page and that's why the questions was published in this section. Please educate me if there's a separate location pertaiing to questions regarding such data structures and their use.
Now my question is that I'm not familiar with Dictionary data structure, so I'm not sure how is stuff functioning in the code that I'm looking at right now written by someone else with no cmments or documentation...
I googled it quite a bit, but no one appear to be using Dictionary in a way that either its key or the value element are another DIctionary object.
Can anyone please share their experience if they've used it or are familiar with it.
Thanks
Tina
|
|
|
|
|
Tina P wrote: this is all done from a ASP .net page and that's why the questions was published in this section
But it's not related to ASP.NET, it's just vanilla C#, it could be in any C# project.
Tina P wrote: Please educate me if there's a separate location pertaiing to questions regarding such data structures and their use
C# forum for general C# questions
Tina P wrote: Now my question is that I'm not familiar with Dictionary data structure, so I'm not sure how is stuff functioning in the code that I'm looking at right now written by someone else with no cmments or documentation...
OK, well, that's another question.
You have a dictionary, and when you look up a key, the value you get back is another dictionary. So, you could use this, for example, to create a grid, look up x first, then y. Of course, you'd usually use a 2D array for that, but the point is, to get to the data you want, you obvously need to look up two values, not one.
It's just a dictionary, twice. You provide two keys to get to the end value.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
I will please like someone to give me some help on how to creat an asp.net, Visual Basic forum.
|
|
|
|
|
|
Its not so tough?Anybody can do it for you but you have to pay for it.
|
|
|
|
|
Hi
when i press on F5
I am getting the below one
unable to connect to visual studio's localhost web server.
i tried by reinstall the webdev.webserver from
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727..
but
it is saying 'The application failed to intialize properly (0*c0000007b).
Click ok to terminate the application.
Help me out..
|
|
|
|
|
Go to services and Restart SQLServer service. if that does not work, Try system restore. if system restore fails jst patiently reinstall visual studio.
|
|
|
|
|
Abdulhafeezo wrote: Go to services and Restart SQLServer service. if that does not work, Try system restore. if system restore fails jst patiently reinstall visual studio.
Why ?
|
|
|
|
|
|
Unable to Connect to the ASP.Net WebServer or Visual Studio on Localhost
This Link will fix your problem…..
http://softwares-u-need.blogspot.com/2009/10/downloadpage.html
YOUR PROBLEM WILL BE FIXED... I BET
The above link Is MY BLOG
Just do what it says….Please mail me if any questions…
PLZ POST YOUR COMMENT IN THAT BLOG, EVEN IF U HAVE TO ASK ANY THING...
Vibin
|
|
|
|
|
Unable to Connect to the ASP.Net WebServer or Visual Studio on Localhost
This Link will fix your problem…..
http://softwares-u-need.blogspot.com/2009/10/downloadpage.html
YOUR PROBLEM WILL BE FIXED... I BET
The above link Is MY BLOG
Just do what it says….Please mail me if any questions…
PLZ POST YOUR COMMENT IN THAT BLOG, EVEN IF U HAVE TO ASK ANY THING...
Vibin
|
|
|
|
|
Unable to Connect to the ASP.Net WebServer or Visual Studio on Localhost
This Link will fix your problem…..
http://softwares-u-need.blogspot.com/2009/10/downloadpage.html
YOUR PROBLEM WILL BE FIXED... I BET
The above link Is MY BLOG
Just do what it says….Please mail me if any questions…
PLZ POST YOUR COMMENT IN THAT BLOG, EVEN IF U HAVE TO ASK ANY THING...
Vibin
|
|
|
|
|
hi all ... good evening..
how to pass confirm box value to code behind.
Page.RegisterStartupScript("Error", "<script>var agree=confirm('Are you sure you want to delete?')</script>");
if (agree)
{
string service = grid.DataKeys[e.RowIndex].Value.ToString();
StringCollection col = BlogService.LoadPingServices();
col.Remove(service);
BlogService.SavePingServices(col);
BindGrid();
}
else
{
}
This my code. I cant get the value of the confirm box to code behind.Help me..
|
|
|
|
|
This is not how it works.
If you want to pass the value from client side to server, you need to do a post pack or use a webservice do the desired action.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Assign the confirmbox value in some hidden variable and postback the page.and accordingly the confirmbox value update the Grid.
Its better you postback the page when the user only press ok on the confirmbox.if not you need to delete so dont need postback
|
|
|
|
|
Hi
I have a page where i am creating table row and table cell dynamically and adding a control to in it.
It is as below
HtmlTableRow tr = new HtmlTableRow();
HtmlTableCell td = new HtmlTableCell();
tr.ID = "tr" + i.ToString();
tblPerSetngs.Controls.Add(tr);
CheckBox chk = new CheckBox();
chk.ID = "chk" + i.ToString();
chk.Text = dtTechSkills.Rows[i]["SkillName"].ToString();
td.Controls.Add(chk);
tr.Controls.Add(td);
table.Controls.Add(tr);
the control is adding wel and fine. but now i want to set the css style to the table row.
Thanks in advance
Naina
|
|
|
|
|
nainakarri wrote: the control is adding wel and fine. but now i want to set the css style to the table row.
tr.Attributes.Add("class", "classname");
|
|
|
|
|
Amandeep, You have asked me one question on Remote IIS Debugging, Here is your complete Answer.
|
|
|
|
|
Hi All
How I can get the selected node of a treeview.
After That I want to get Value property and Text Property of
Selected node.
The javascript function that I have developed is not working
In this fuction I am trying to get Treeview (TVSectionContentsList). Then its selected node and after that its value and text property.
Please Help me in this matter.
function insertValue() {
FTB_API['<%=FreeTextBox1.ClientID%>'].Focus();
var tv = document.getElementById('<%=
TVSectionContentsList.ClientID%>');
var treeNode = GetSelectedNodeEntity();
var treeNode = tv.getTreeNode(tv.selectedNodeIndex);
var val = treeNode.value;
var txt = treeNode.text;
FTB_API['<%=FreeTextBox1.ClientID%>'].InsertHtml('<span id=' + val + '>' + txt + '</span>');
window.event.returnValue = false;
FTB_API['<%=FreeTextBox1.ClientID%>'].Focus();
}
|
|
|
|
|
Hi to all,
I want to display description like maximum 20 characters in grid column.....i have already used
boundfield of grid to display the field Description.....
i have tried to do it by Itemstyle but its not working....
can any one tell me the soluntion for that........
|
|
|
|