|
Hi.,
I am having two servers on server-1 there is my Applicaton that copies the data from MS Access, creates the dataset and provide to the Webservice .On server-2 there is my webservice which accept the dataset and using sqlBulkCopy Fill Data into SQL Server. so problem is that all the tables having nearly 3000 records are successfully loaded , but the tables with more records are throwing exceptions. This is where I am getting the problem.
Thanks,
Navneet.H
Develop2Program & Program2Develop
|
|
|
|
|
I see.
Any progress with what I suggested?
---
"Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things."
-- Douglas Adams
|
|
|
|
|
Hi !!
Yea! I have set the maxRequestLength ="2097150" now the data is flowing across and all is fine , only concern is speed so I am trying to compress and decompress at respective ends.
Respect
Navneet.H
Develop2Program & Program2Develop
|
|
|
|
|
Hello, I hope this is the right place to post, but anyways, here goes. I current have a forum, snitz, in place, but am having an IE specific problem. Basically what happens is, I have a page that drops a cookie which logs in the user. This all works fine, but once the cookie is dropped ALL post method data from forms become empty. Get works, and if I post data to a different site it works, so the break down is reading the data from the post. Here is the code that logs the user into the site:
<%
dim rsUser, conn
if len(Mid(Request.ServerVariables("AUTH_USER"), Instr(1, Request.ServerVariables("AUTH_USER"), "\") + 1)) > 0 and not strLoginStatus = 1 then
set conn = Server.CreateObject("ADODB.CONNECTION")
set rsUser = Server.CreateObject("ADODB.RECORDSET")
conn.Open strConnString
rsUser.Open "SELECT m.M_PASSWORD FROM glbPermissions p INNER JOIN FORUM_MEMBERS m ON p.id = m.M_FITS_ID WHERE p.loginName='" & lcase(Mid(Request.ServerVariables("AUTH_USER"), Instr(1, Request.ServerVariables("AUTH_USER"), "\") + 1)) & "'", conn
if not rsUser.EOF then
strDBNTUserName=trim(Mid(Request.ServerVariables("AUTH_USER"), Instr(1, Request.ServerVariables("AUTH_USER"), "\") + 1))
strEncodedPassword = rsUser("M_PASSWORD")
if strSetCookieToForum = 1 then
Response.Cookies(strUniqueID & "User").Path = strCookieURL
else
Response.Cookies(strUniqueID & "User").Path = "/"
end if
Response.Cookies(strUniqueID & "User")("Name") = strDBNTUserName
Response.Cookies(strUniqueID & "User")("Pword") = strEncodedPassword
'Response.Cookies(strUniqueID & "User")("Cookies") = Request.Form("Cookies")
if fSavePassWord = "true" then
Response.Cookies(strUniqueID & "User").Expires = dateAdd("d", intCookieDuration, strForumTimeAdjust)
end if
Session(strCookieURL & "last_here_date") = ReadLastHereDate(strDBNTFUserName)
strLoginStatus = 1
end if
rsUser.Close
conn.Close
end if
if Len(Request.QueryString("target")) > 0 then
Response.Redirect "login.asp?" & Request.QueryString("target")
else
Response.Redirect "default.asp"
end if
%>
All the previous code does is create the cookies. The variables are declared on one of the included pages. Once this code is executed, nothing works. I have created a simple asp page that just reads posted data which does not work once I use the above page:
<%=Request("test")%>
Before I log in, the above code will echo everything in the box, but after I log in, it receives nothing. I have tested this log in feature on firefox, and it works fine, but on ie, it just refuses to work. Hopefully someone can shed some insight onto this, because I've been at this for 2 days, and have made no progress.
-- modified at 14:52 Thursday 18th October, 2007
|
|
|
|
|
If your code works in FF then your problem is most likely to do with your security/privacy settings in IE. AFter all, the server-side code runs on the server (really!) and doesn't care what browser is making the call.
Fred
|
|
|
|
|
Hey Fred,
Thanks for the response! That was exactly the problem. I am using NT Authentication on only one page, while all the other pages are public access. Initially, I thought it was my code, but after looking at everything carefully, I realized that it was something to do with the authentication. If you could shed some insight as to why this would happen, it would greatly be appreciated. The current setup is a public viewalbe URL with one file using NT Authentication (hopefully that makes sense).
I've been googling around, and it seems there is a registry fix for this, but I cannot find it anywhere, and all the links that I have found are broken. Here is a page that I recently found: http://www.thescripts.com/forum/thread54999.html[^]
|
|
|
|
|
There is a need for qualified web developers in the Boston area. I have contracts with many of the best companies who are looking. The positions vary, and some would love a little design experience on top of the application experience. If you know of anyone interested in a career move, please contact me. Salary is Boston market value, which is very good.
Requirements vary but may include:
Java, PHP, SEO, UNIX/Linux, Perl, UI, Database experience
contact: jak@ndt.com
**Please no contractors
Judith A. Kane
Career Agent
New Dimensions in Technology, Inc. (NDT)
85 Lafayette Street
Salem, MA 01970
P: 978.744.1010 x119
F: 978.744.1011
jak@ndt.com
|
|
|
|
|
Wrong place to post this. On the Home page of the site in the left column you will find a link to the "Jobs Board"
|
|
|
|
|
Judith,
It should be kind of you to post in the messageboard so that many people can benefit from the opportunity. However, there is a dedicate Jobs Board in this website where, the responses for your requirement can be more assuring, alluring and promising too.
|
|
|
|
|
hi
i am having a webpage (developed in asp using vbscript) in it i have one hyperlink button when i click on that button file starts downloading from my system with that file name.its working fine, but now i want to download the file from another system which is connected to my system(say MS01 is another system name ) through LAN. can anybody send me the source code for this task.
-- modified at 7:00 Thursday 18th October, 2007
|
|
|
|
|
i am unable to add horizontal scroll bar to HTML select tag using the div tag......that's the only thing i could find over the internet.....and that too is not working.....!!!
any help would be appreciated....
|
|
|
|
|
|
thanks.....but overflow is not working......i have already tried it...
|
|
|
|
|
OK, can you post the HTML and tick the 'Ignore HTML Tags in this message' option and we'll have a look.
Cheers
Ben
|
|
|
|
|
<tr>
<td valign="top"><%=Language.getBalloonText("multiselect values")%><br>
<div style="width: 100px; height: 100px; overflow:scroll" > <select onDblClick="addSelected(document.selectForm.selectSource,document.selectForm.selectTarget)" name="selectSource" multiple id="selectSource" style="height:265px;" onmouseover="">
<%
out.print(ListOfValues.optionsList(request, false, false)); //options
%>
</select></div></td>
<td.....
</tr>
i've tried both overflow scroll and auto and seperately for overflow-x & overflow-y
the vertical scroll bar comes but not the horizontal.
when i use overflow:scroll the tips of the scroll bar appear but there is no bar to scroll
thanks for ur help
|
|
|
|
|
hey buddy.....i probably figured out the problem.......but need a workaround....
in the stylesheet i'm using....there is an entry....
SELECT
{
font-family: Arial, Helvetica, sans-serif;
color: #000000;
height: 100%;
width: 100%;
background-color: #ffffff;
font-size: 12px;
}
if i delete the width row the the scrollbar appears....!!!
but the problem is i do not wish to change the style sheet as it is related to other pages also.....so how can i override it for this particular case...i would also appreciate if anyone could throw light on why the scrollbar was not appearing previously....
thanks....
|
|
|
|
|
This should give you a clue on overriding: http://archivist.incutio.com/viewlist/css-discuss/43774.
However, I think as you're defining a style for a top-level tag, you may have to set the width to something as you can't disable the style, only override it, so if you don't add a width attribute, the one from the SELECT style will continue to be applied.
The scroll bar is not appearing as, as far as it's concerned, the elements within the div are set at 100% and therefore there's nothing to scroll.
Cheers
Ben
|
|
|
|
|
The following gives me a scroll bar under the drop down - is this what you're looking for or am I misunderstanding?
<div>
<div style="width:100px;overflow-x:auto;">
<select style="margin-bottom:15px;">
<option>This is some test text to make sure we scroll</option>
<option>And some more long text just in case</option>
</select>
</div>
</div>
Cheers
Ben
|
|
|
|
|
this is working fine for a normal case......but in my case.....the select list is being displayed in a table column.....and the style sheet problem that i've already described.
i've found out one more thing......if i override the width in select and the width is greater than that of the div tag.....then the horizontal scrollbar appears......but again i do not know what value i should put for width in select so that the longest string in select list is visible.
if i put width as 100% then also the scrollbar disappears......because i think that 100% takes the width as 100% of the table column....and does not scroll.....
one more thing.....the select list is not being displayed as one value at a time......it is in a rectangular format.....the vertical bar automatically appears if total options exceed the height....by virtue of select tag.......but the horizontal bar doesn't appear.....
|
|
|
|
|
Trying to change the css class of the innerdiv element on a mouseover event on the outerdiv.
<div class="outerdiv" onmouseover="changeCss(this, 'outerdivover')" onmouseout="changeCss(this, 'outerdiv')">
<div class="middlediv">
<div class="innerdiv">
<a href="http://www.google.com/">Change Management Strategy That Wraps to a Third Line</a>
</div>
</div>
</div>
What would the javascript look like that can do this. The simple javascript that I have right now is the following:
<script type="text/javascript">
function changeCss(o, a)
{
o.className = a;
}
</script>
Thanks in advance
|
|
|
|
|
Use o.firstChild.firstChild to access the inner div.
---
"Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things."
-- Douglas Adams
|
|
|
|
|
Hi!
I have a big code source of the web site. Some pith of code writed on ASP and another part on ASP.NET.
I need to know the site map but determinated it on practic will spend too long time. Another way is analyse the code. I think it should be the parser which can analyse the code of specific web page (in my variant it is ASP or ASP.NET file) and work with pages controls.
Does anybody know some tool helps for or may be some link to solution or any saggestion?
Does my question illustrate my problem?
|
|
|
|
|
Not sure what end result you want (is the map for end users, for you to know what's there etc), but this may do what you need: http://www.xml-sitemaps.com/
Cheers
Ben
|
|
|
|
|
Thanks, but I need to know where does the user may go from the page. In other words I need the map with pointers all pathes.
|
|
|
|
|
I think the above will give you that. If the site map needs to be contextual, then you'll need to navigate the xml produced by the tool to find the current page and then generate your navigation from the child nodes of that.
Cheers
Ben
|
|
|
|